Enum quinn_proto::Side
source · pub enum Side {
Client = 0,
Server = 1,
}
Expand description
Whether an endpoint was the initiator of a connection
Variants§
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Side
impl<'arbitrary> Arbitrary<'arbitrary> for Side
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 Side
impl Ord for Side
source§impl PartialEq for Side
impl PartialEq for Side
source§impl PartialOrd for Side
impl PartialOrd for Side
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 Side
impl Eq for Side
impl StructuralEq for Side
impl StructuralPartialEq for Side
Auto Trait Implementations§
impl RefUnwindSafe for Side
impl Send for Side
impl Sync for Side
impl Unpin for Side
impl UnwindSafe for Side
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