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 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