pub struct StreamClose { /* private fields */ }
Expand description
Context for a stream closing event
Implementations§
Source§impl StreamClose
impl StreamClose
Sourcepub fn close_type(&self) -> CloseType
pub fn close_type(&self) -> CloseType
Get close type of closed peer
Trait Implementations§
Source§impl StreamControl for StreamClose
impl StreamControl for StreamClose
Source§fn attributes(&self) -> &Attributes
fn attributes(&self) -> &Attributes
Retrieve attributes for the stream data
Source§fn resume_downstream(&self)
fn resume_downstream(&self)
TODO: UNKNOWN PURPOSE
Source§fn close_downstream(&self)
fn close_downstream(&self)
TODO: UNKNOWN PURPOSE
Source§fn resume_upstream(&self)
fn resume_upstream(&self)
TODO: UNKNOWN PURPOSE
Source§fn close_upstream(&self)
fn close_upstream(&self)
TODO: UNKNOWN PURPOSE
Auto Trait Implementations§
impl Freeze for StreamClose
impl RefUnwindSafe for StreamClose
impl Send for StreamClose
impl Sync for StreamClose
impl Unpin for StreamClose
impl UnwindSafe for StreamClose
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