Enum quinn_proto::Dir
source · pub enum Dir {
Bi = 0,
Uni = 1,
}
Expand description
Whether a stream communicates data in both directions or only from the initiator
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Dir
impl<'arbitrary> Arbitrary<'arbitrary> for Dir
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moresource§impl Ord for Dir
impl Ord for Dir
source§impl PartialOrd for Dir
impl PartialOrd for Dir
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
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 moreimpl Copy for Dir
impl Eq for Dir
impl StructuralEq for Dir
impl StructuralPartialEq for Dir
Auto Trait Implementations§
impl RefUnwindSafe for Dir
impl Send for Dir
impl Sync for Dir
impl Unpin for Dir
impl UnwindSafe for Dir
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