pub enum DataConsumerType {
Sctp,
Direct,
}
Expand description
Data consumer type.
Variants§
Sctp
The endpoint receives messages using the SCTP protocol.
Direct
Messages are received directly by the Rust process over a direct transport.
Trait Implementations§
Source§impl Clone for DataConsumerType
impl Clone for DataConsumerType
Source§fn clone(&self) -> DataConsumerType
fn clone(&self) -> DataConsumerType
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 DataConsumerType
impl Debug for DataConsumerType
Source§impl<'de> Deserialize<'de> for DataConsumerType
impl<'de> Deserialize<'de> for DataConsumerType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for DataConsumerType
impl Hash for DataConsumerType
Source§impl Ord for DataConsumerType
impl Ord for DataConsumerType
Source§fn cmp(&self, other: &DataConsumerType) -> Ordering
fn cmp(&self, other: &DataConsumerType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DataConsumerType
impl PartialEq for DataConsumerType
Source§impl PartialOrd for DataConsumerType
impl PartialOrd for DataConsumerType
Source§impl Serialize for DataConsumerType
impl Serialize for DataConsumerType
impl Copy for DataConsumerType
impl Eq for DataConsumerType
impl StructuralPartialEq for DataConsumerType
Auto Trait Implementations§
impl Freeze for DataConsumerType
impl RefUnwindSafe for DataConsumerType
impl Send for DataConsumerType
impl Sync for DataConsumerType
impl Unpin for DataConsumerType
impl UnwindSafe for DataConsumerType
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