pub enum DataProducerType {
Sctp,
Direct,
}
Expand description
Data consumer type.
Variants§
Sctp
The endpoint sends messages using the SCTP protocol.
Direct
Messages are sent directly from the Rust process over a direct transport.
Trait Implementations§
Source§impl Clone for DataProducerType
impl Clone for DataProducerType
Source§fn clone(&self) -> DataProducerType
fn clone(&self) -> DataProducerType
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 DataProducerType
impl Debug for DataProducerType
Source§impl<'de> Deserialize<'de> for DataProducerType
impl<'de> Deserialize<'de> for DataProducerType
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 DataProducerType
impl Hash for DataProducerType
Source§impl Ord for DataProducerType
impl Ord for DataProducerType
Source§fn cmp(&self, other: &DataProducerType) -> Ordering
fn cmp(&self, other: &DataProducerType) -> 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 DataProducerType
impl PartialEq for DataProducerType
Source§impl PartialOrd for DataProducerType
impl PartialOrd for DataProducerType
Source§impl Serialize for DataProducerType
impl Serialize for DataProducerType
impl Copy for DataProducerType
impl Eq for DataProducerType
impl StructuralPartialEq for DataProducerType
Auto Trait Implementations§
impl Freeze for DataProducerType
impl RefUnwindSafe for DataProducerType
impl Send for DataProducerType
impl Sync for DataProducerType
impl Unpin for DataProducerType
impl UnwindSafe for DataProducerType
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