[][src]Struct spirit_tokio::net::unix::DatagramListen

pub struct DatagramListen<ExtraCfg = Empty> {
    pub extra_cfg: ExtraCfg,
    // some fields omitted
}

A Fragment for unix datagram sockets

This is an unix domain equivalent to the UdpListen configuration fragment. All its notes apply here except that the base configuration fields are taken from unix::Listen instead of net::Listen.

Fields

extra_cfg: ExtraCfg

Arbitrary application-specific configuration that doesn't influence the socket itself.

But it can be examined from within the handlers.

Trait Implementations

impl<ExtraCfg: Clone> Clone for DatagramListen<ExtraCfg>[src]

impl<ExtraCfg: Default> Default for DatagramListen<ExtraCfg>[src]

impl<ExtraCfg: Eq> Eq for DatagramListen<ExtraCfg>[src]

impl<ExtraCfg: Ord> Ord for DatagramListen<ExtraCfg>[src]

impl<ExtraCfg: PartialEq> PartialEq<DatagramListen<ExtraCfg>> for DatagramListen<ExtraCfg>[src]

impl<ExtraCfg: PartialOrd> PartialOrd<DatagramListen<ExtraCfg>> for DatagramListen<ExtraCfg>[src]

impl<ExtraCfg: Debug> Debug for DatagramListen<ExtraCfg>[src]

impl<ExtraCfg: Hash> Hash for DatagramListen<ExtraCfg>[src]

impl<ExtraCfg> Serialize for DatagramListen<ExtraCfg> where
    ExtraCfg: Serialize
[src]

impl<'de, ExtraCfg> Deserialize<'de> for DatagramListen<ExtraCfg> where
    ExtraCfg: Deserialize<'de>, 
[src]

impl<ExtraCfg: PartialEq> Comparable<DatagramListen<ExtraCfg>> for DatagramListen<ExtraCfg>[src]

impl<ExtraCfg> Fragment for DatagramListen<ExtraCfg> where
    ExtraCfg: Clone + Debug + PartialEq
[src]

type Driver = CacheSimilar<Self>

The default driver to be used by the fragment. Read more

type Installer = ()

The default installer to be used unless a transformation or the user doesn't provide one. Read more

type Seed = StdUnixDatagram

The intermediate product if the fragment supports two-stage creation of [Resource][Fragment::Resource]s. If not, it can be set to (). Read more

type Resource = UnixDatagram

The actual product this [Fragment] creates.

impl<ExtraCfg> Stackable for DatagramListen<ExtraCfg>[src]

impl<ExtraCfg> StructDoc for DatagramListen<ExtraCfg> where
    ExtraCfg: StructDoc
[src]

Auto Trait Implementations

impl<ExtraCfg> Send for DatagramListen<ExtraCfg> where
    ExtraCfg: Send

impl<ExtraCfg> Sync for DatagramListen<ExtraCfg> where
    ExtraCfg: Sync

impl<ExtraCfg> Unpin for DatagramListen<ExtraCfg> where
    ExtraCfg: Unpin

impl<ExtraCfg> UnwindSafe for DatagramListen<ExtraCfg> where
    ExtraCfg: UnwindSafe

impl<ExtraCfg> RefUnwindSafe for DatagramListen<ExtraCfg> where
    ExtraCfg: RefUnwindSafe

Blanket Implementations

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

impl<T> From<T> for 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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

impl<F> Optional for F where
    F: Stackable
[src]