pub struct PeerHandle {
pub address: SocketAddr,
pub is_client: bool,
/* private fields */
}Expand description
Used to reference, request, and kill
Fields§
§address: SocketAddr§is_client: boolImplementations§
Trait Implementations§
Source§impl Clone for PeerHandle
impl Clone for PeerHandle
Source§fn clone(&self) -> PeerHandle
fn clone(&self) -> PeerHandle
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 PeerHandle
impl !RefUnwindSafe for PeerHandle
impl Send for PeerHandle
impl Sync for PeerHandle
impl Unpin for PeerHandle
impl !UnwindSafe for PeerHandle
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