pub struct NetworkLayerMessage {
pub message_type: NetworkMessageType,
pub data: Option<Vec<u8>>,
}Expand description
Network layer message handling
Fields§
§message_type: NetworkMessageTypeMessage type
data: Option<Vec<u8>>Message data
Implementations§
Auto Trait Implementations§
impl Freeze for NetworkLayerMessage
impl RefUnwindSafe for NetworkLayerMessage
impl Send for NetworkLayerMessage
impl Sync for NetworkLayerMessage
impl Unpin for NetworkLayerMessage
impl UnsafeUnpin for NetworkLayerMessage
impl UnwindSafe for NetworkLayerMessage
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