pub trait WireEncode {
// Required method
fn wire_encode(&self, out: &mut Vec<u8>);
}Expand description
A value that serializes into the shared wire format.
Required Methods§
Sourcefn wire_encode(&self, out: &mut Vec<u8>)
fn wire_encode(&self, out: &mut Vec<u8>)
Append self’s tagged wire bytes to out.