pub trait SerBolt:
Debug
+ AsAny
+ Send {
// Required methods
fn as_vec(&self) -> Vec<u8> ⓘ;
fn name(&self) -> &'static str;
}
Expand description
Serialize a message with a type prefix, in BOLT style
pub trait SerBolt:
Debug
+ AsAny
+ Send {
// Required methods
fn as_vec(&self) -> Vec<u8> ⓘ;
fn name(&self) -> &'static str;
}
Serialize a message with a type prefix, in BOLT style