Struct spirit_hyper::Acceptor[][src]

pub struct Acceptor<A>(_);

A plumbing wrapper type.

Not of direct interest to users, though it might leak to some function signatures at an occasion. The real listener socket is wrapped inside.

Trait Implementations

impl<A: SpiritAccept> Accept for Acceptor<A>[src]

type Conn = A::Connection

The connection type that can be accepted.

type Error = IoError

The error type that can occur when accepting a connection.

impl<A: Clone> Clone for Acceptor<A>[src]

impl<A: Copy> Copy for Acceptor<A>[src]

impl<A: Debug> Debug for Acceptor<A>[src]

impl<'pin, A> Unpin for Acceptor<A> where
    __Acceptor<'pin, A>: Unpin
[src]

Auto Trait Implementations

impl<A> RefUnwindSafe for Acceptor<A> where
    A: RefUnwindSafe

impl<A> Send for Acceptor<A> where
    A: Send

impl<A> Sync for Acceptor<A> where
    A: Sync

impl<A> UnwindSafe for Acceptor<A> where
    A: UnwindSafe

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> IntoResult<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.