Enum quicr_core::Directionality [−][src]
pub enum Directionality { Bi, Uni, }
Whether a stream communicates data in both directions or only from the initiator
Variants
Bi
Data flows in both directions
Uni
Data flows only from the stream's initiator
Trait Implementations
impl Debug for Directionality
[src]
impl Debug for Directionality
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for Directionality
[src]
impl Copy for Directionality
impl Clone for Directionality
[src]
impl Clone for Directionality
fn clone(&self) -> Directionality
[src]
fn clone(&self) -> Directionality
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Eq for Directionality
[src]
impl Eq for Directionality
impl PartialEq for Directionality
[src]
impl PartialEq for Directionality
fn eq(&self, other: &Directionality) -> bool
[src]
fn eq(&self, other: &Directionality) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Ord for Directionality
[src]
impl Ord for Directionality
fn cmp(&self, other: &Directionality) -> Ordering
[src]
fn cmp(&self, other: &Directionality) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl PartialOrd for Directionality
[src]
impl PartialOrd for Directionality
fn partial_cmp(&self, other: &Directionality) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Directionality) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Hash for Directionality
[src]
impl Hash for Directionality
Auto Trait Implementations
impl Send for Directionality
impl Send for Directionality
impl Sync for Directionality
impl Sync for Directionality