pub enum NetworkEvent {
OnRemoved {
reason: NetworkRemovalReason,
},
}
Variants§
OnRemoved
Fields
§
reason: NetworkRemovalReason
Implementations§
Source§impl NetworkEvent
impl NetworkEvent
pub fn into_on_removed(self) -> Option<NetworkRemovalReason>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NetworkEvent
impl RefUnwindSafe for NetworkEvent
impl Send for NetworkEvent
impl Sync for NetworkEvent
impl Unpin for NetworkEvent
impl UnwindSafe for NetworkEvent
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