Trait scabbard::protos::IntoBytes [−][src]
pub trait IntoBytes<ViaProtocol>: Sized {
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>;
}
Expand description
Convert to bytes from a native struct, via the given protocol.