Struct fizyr_rpc::PeerCloseHandle [−][src]
pub struct PeerCloseHandle<Body> { /* fields omitted */ }
Expand description
Handle to close the connection with a peer.
The peer handle can be cloned and moved independent from the PeerReadHandle
or PeerWriteHandle
it was created from.
It does not keep the peer loop running if all other handle types are dropped.
Implementations
Trait Implementations
Auto Trait Implementations
impl<Body> !RefUnwindSafe for PeerCloseHandle<Body>
impl<Body> Send for PeerCloseHandle<Body> where
Body: Send,
impl<Body> Sync for PeerCloseHandle<Body> where
Body: Send,
impl<Body> Unpin for PeerCloseHandle<Body>
impl<Body> !UnwindSafe for PeerCloseHandle<Body>
Blanket Implementations
Mutably borrows from an owned value. Read more