pub struct PeerDisconnected {
pub peer: Arc<Peer>,
}
Expand description
Event emitted when the connection with the peer is terminated
Fields§
§peer: Arc<Peer>
Trait Implementations§
Source§impl Clone for PeerDisconnected
impl Clone for PeerDisconnected
Source§fn clone(&self) -> PeerDisconnected
fn clone(&self) -> PeerDisconnected
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for PeerDisconnected
impl RefUnwindSafe for PeerDisconnected
impl Send for PeerDisconnected
impl Sync for PeerDisconnected
impl Unpin for PeerDisconnected
impl UnwindSafe for PeerDisconnected
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