pub enum StreamRole {
Send,
Both,
}Expand description
Which directions a STREAM_END closes: this side’s sending, or both.
Variants§
Trait Implementations§
Source§impl Clone for StreamRole
impl Clone for StreamRole
impl Copy for StreamRole
Source§impl Debug for StreamRole
impl Debug for StreamRole
impl Eq for StreamRole
Source§impl PartialEq for StreamRole
impl PartialEq for StreamRole
impl StructuralPartialEq for StreamRole
Auto Trait Implementations§
impl Freeze for StreamRole
impl RefUnwindSafe for StreamRole
impl Send for StreamRole
impl Sync for StreamRole
impl Unpin for StreamRole
impl UnsafeUnpin for StreamRole
impl UnwindSafe for StreamRole
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