pub struct PeerSocket { /* private fields */ }Expand description
One accepted socket, as Peers sees it: the offer it may make, the
answers and items of the calls made into it, its close.
Implementations§
Source§impl PeerSocket
impl PeerSocket
Sourcepub fn close(&self, why: &str)
pub fn close(&self, why: &str)
NEST-25: close it from this side — every call into the peer ends
child_unavailable, its mount goes, and the transport is told to
drop the socket.
Auto Trait Implementations§
impl !Freeze for PeerSocket
impl !RefUnwindSafe for PeerSocket
impl !UnwindSafe for PeerSocket
impl Forget for PeerSocket
impl Move for PeerSocket
impl Send for PeerSocket
impl Sync for PeerSocket
impl Unpin for PeerSocket
impl UnsafeUnpin for PeerSocket
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