Enum quinn_proto::Side[][src]

pub enum Side {
    Client,
    Server,
}

Whether an endpoint was the initiator of a connection

Variants

Client

The initiator of a connection

Server

The acceptor of a connection

Implementations

impl Side[src]

pub fn is_client(self) -> bool[src]

Shorthand for self == Side::Client

pub fn is_server(self) -> bool[src]

Shorthand for self == Side::Server

Trait Implementations

impl Arbitrary for Side[src]

impl Clone for Side[src]

impl Copy for Side[src]

impl Debug for Side[src]

impl Eq for Side[src]

impl Hash for Side[src]

impl Not for Side[src]

type Output = Side

The resulting type after applying the ! operator.

impl Ord for Side[src]

impl PartialEq<Side> for Side[src]

impl PartialOrd<Side> for Side[src]

impl StructuralEq for Side[src]

impl StructuralPartialEq for Side[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,