[][src]Enum quic_p2p::OurType

pub enum OurType {
    Client,
    Node,
}

Whether we are a client or a node.

Variants

Client

We are a client. Clients do not expect a reverse connection from a peer.

Node

We are a node. Nodes require a reverse connection from a peer.

Trait Implementations

impl Clone for OurType[src]

impl Copy for OurType[src]

impl Debug for OurType[src]

impl Default for OurType[src]

impl<'de> Deserialize<'de> for OurType[src]

impl Eq for OurType[src]

impl FromStr for OurType[src]

type Err = String

The associated error which can be returned from parsing.

impl PartialEq<OurType> for OurType[src]

impl Serialize for OurType[src]

impl StructuralEq for OurType[src]

impl StructuralPartialEq for OurType[src]

Auto Trait Implementations

impl RefUnwindSafe for OurType

impl Send for OurType

impl Sync for OurType

impl Unpin for OurType

impl UnwindSafe for OurType

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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>,