pub enum StreamMessageKind {
Data(StreamDataEvent),
Control(StreamControlEvent),
}Variants§
Data(StreamDataEvent)
Control(StreamControlEvent)
Trait Implementations§
Source§impl Clone for StreamMessageKind
impl Clone for StreamMessageKind
Source§fn clone(&self) -> StreamMessageKind
fn clone(&self) -> StreamMessageKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StreamMessageKind
impl RefUnwindSafe for StreamMessageKind
impl Send for StreamMessageKind
impl Sync for StreamMessageKind
impl Unpin for StreamMessageKind
impl UnsafeUnpin for StreamMessageKind
impl UnwindSafe for StreamMessageKind
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