Enum dtn7::dtnd::ws::WsReceiveMode
source · pub enum WsReceiveMode {
Bundle,
Data(DataReceiveFormat),
}
Variants§
Bundle
Data(DataReceiveFormat)
Trait Implementations§
source§impl Clone for WsReceiveMode
impl Clone for WsReceiveMode
source§fn clone(&self) -> WsReceiveMode
fn clone(&self) -> WsReceiveMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WsReceiveMode
impl Debug for WsReceiveMode
source§impl PartialEq for WsReceiveMode
impl PartialEq for WsReceiveMode
source§fn eq(&self, other: &WsReceiveMode) -> bool
fn eq(&self, other: &WsReceiveMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WsReceiveMode
impl Eq for WsReceiveMode
impl StructuralPartialEq for WsReceiveMode
Auto Trait Implementations§
impl Freeze for WsReceiveMode
impl RefUnwindSafe for WsReceiveMode
impl Send for WsReceiveMode
impl Sync for WsReceiveMode
impl Unpin for WsReceiveMode
impl UnwindSafe for WsReceiveMode
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.