pub enum StreamState {
Subscribing,
Active,
Closing,
}Expand description
Lifecycle state tracked for an active stream on a connection.
Variants§
Subscribing
A stream has been opened and is awaiting subscription confirmation.
Active
A stream is active and can carry application frames.
Closing
A stream is closing and awaiting final cleanup.
Trait Implementations§
Source§impl Clone for StreamState
impl Clone for StreamState
impl Copy for StreamState
Source§impl Debug for StreamState
impl Debug for StreamState
impl Eq for StreamState
Source§impl PartialEq for StreamState
impl PartialEq for StreamState
impl StructuralPartialEq for StreamState
Auto Trait Implementations§
impl Freeze for StreamState
impl RefUnwindSafe for StreamState
impl Send for StreamState
impl Sync for StreamState
impl Unpin for StreamState
impl UnsafeUnpin for StreamState
impl UnwindSafe for StreamState
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