pub enum Stream {
Session,
Announce,
Subscribe,
Fetch,
Info,
}
Variants§
Trait Implementations§
Source§impl Decode for Stream
impl Decode for Stream
fn decode<R: Buf>(r: &mut R) -> Result<Self, DecodeError>
fn decode_more<B: Buf>(buf: &mut B, remain: usize) -> Result<Self, DecodeError>
fn decode_cap<B: Buf>(buf: &mut B, remain: usize) -> Result<(), DecodeError>
impl Copy for Stream
impl StructuralPartialEq for Stream
Auto Trait Implementations§
impl Freeze for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin 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