pub enum IncomingBinaryMessage {
Connect {
custom_datas: Option<Vec<u8>>,
peer_sig_public_key: Vec<u8>,
},
Ack {
custom_datas: Option<Vec<u8>>,
},
Message {
datas: Option<Vec<u8>>,
},
}Expand description
Incoming binary Message
Variants§
Trait Implementations§
Source§impl Debug for IncomingBinaryMessage
impl Debug for IncomingBinaryMessage
Source§impl PartialEq for IncomingBinaryMessage
impl PartialEq for IncomingBinaryMessage
impl StructuralPartialEq for IncomingBinaryMessage
Auto Trait Implementations§
impl Freeze for IncomingBinaryMessage
impl RefUnwindSafe for IncomingBinaryMessage
impl Send for IncomingBinaryMessage
impl Sync for IncomingBinaryMessage
impl Unpin for IncomingBinaryMessage
impl UnwindSafe for IncomingBinaryMessage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more