pub struct PeerRemovedEvent {
pub id: PeerId,
pub reason: PeerRemovalReason,
}Fields§
§id: PeerId§reason: PeerRemovalReasonTrait Implementations§
Auto Trait Implementations§
impl Freeze for PeerRemovedEvent
impl RefUnwindSafe for PeerRemovedEvent
impl Send for PeerRemovedEvent
impl Sync for PeerRemovedEvent
impl Unpin for PeerRemovedEvent
impl UnwindSafe for PeerRemovedEvent
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