pub struct Stream { /* private fields */ }Expand description
A typed handle to a logical stream within a peer session.
Created by crate::adapter::net::MeshNode::open_stream; dropped at any
point without affecting the underlying StreamState — the stream is
removed only when crate::adapter::net::MeshNode::close_stream is
explicitly called, when it’s idle-evicted, or when its parent session
tears down.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnsafeUnpin for Stream
impl UnwindSafe for Stream
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