Trait vls_protocol::msgs::SerBolt
source · pub trait SerBolt: Debug + AsAny + Send {
// Required method
fn as_vec(&self) -> Vec<u8>;
}
Expand description
Serialize a message with a type prefix, in BOLT style
pub trait SerBolt: Debug + AsAny + Send {
// Required method
fn as_vec(&self) -> Vec<u8>;
}
Serialize a message with a type prefix, in BOLT style