pub enum NetworkResponse {
ApplicationData,
NetworkMessage(Npdu),
RoutingUpdate(Vec<RouterInfo>),
}Expand description
Network layer response types
Variants§
ApplicationData
Application layer data (pass through)
NetworkMessage(Npdu)
Network layer message response
RoutingUpdate(Vec<RouterInfo>)
Routing table update
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NetworkResponse
impl RefUnwindSafe for NetworkResponse
impl Send for NetworkResponse
impl Sync for NetworkResponse
impl Unpin for NetworkResponse
impl UnsafeUnpin for NetworkResponse
impl UnwindSafe for NetworkResponse
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