[−][src]Struct spirit_hyper::Acceptor
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 + Unpin> 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.
fn poll_accept(
self: Pin<&mut Self>,
ctx: &mut Context<'_>
) -> Poll<Option<Result<Self::Conn, IoError>>>
[src]
self: Pin<&mut Self>,
ctx: &mut Context<'_>
) -> Poll<Option<Result<Self::Conn, IoError>>>
impl<A: Clone> Clone for Acceptor<A>
[src]
impl<A: Copy> Copy for Acceptor<A>
[src]
impl<A: Debug> Debug for Acceptor<A>
[src]
Auto Trait Implementations
impl<A> RefUnwindSafe for Acceptor<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
impl<A> Send for Acceptor<A> where
A: Send,
A: Send,
impl<A> Sync for Acceptor<A> where
A: Sync,
A: Sync,
impl<A> Unpin for Acceptor<A> where
A: Unpin,
A: Unpin,
impl<A> UnwindSafe for Acceptor<A> where
A: UnwindSafe,
A: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoResult<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,