struct Inner<TaskR, SleepR, CoarseTimeR, TcpR, UnixR, TlsR, UdpR> {
spawn: TaskR,
sleep: SleepR,
coarse_time: CoarseTimeR,
tcp: TcpR,
unix: UnixR,
tls: TlsR,
udp: UdpR,
}Expand description
A collection of objects implementing that traits that make up a Runtime
Fields§
§spawn: TaskRA Spawn and BlockOn implementation.
sleep: SleepRA SleepProvider implementation.
coarse_time: CoarseTimeRA `CoarseTimeProvider`` implementation.
tcp: TcpRA NetStreamProvider<net::SocketAddr> implementation
unix: UnixRA NetStreamProvider<unix::SocketAddr> implementation.
tls: TlsRA TlsProvider<TcpR::TcpStream> implementation.
udp: UdpRA UdpProvider implementation
Auto Trait Implementations§
impl<TaskR, SleepR, CoarseTimeR, TcpR, UnixR, TlsR, UdpR> Freeze for Inner<TaskR, SleepR, CoarseTimeR, TcpR, UnixR, TlsR, UdpR>
impl<TaskR, SleepR, CoarseTimeR, TcpR, UnixR, TlsR, UdpR> RefUnwindSafe for Inner<TaskR, SleepR, CoarseTimeR, TcpR, UnixR, TlsR, UdpR>where
TaskR: RefUnwindSafe,
SleepR: RefUnwindSafe,
CoarseTimeR: RefUnwindSafe,
TcpR: RefUnwindSafe,
UnixR: RefUnwindSafe,
TlsR: RefUnwindSafe,
UdpR: RefUnwindSafe,
impl<TaskR, SleepR, CoarseTimeR, TcpR, UnixR, TlsR, UdpR> Send for Inner<TaskR, SleepR, CoarseTimeR, TcpR, UnixR, TlsR, UdpR>
impl<TaskR, SleepR, CoarseTimeR, TcpR, UnixR, TlsR, UdpR> Sync for Inner<TaskR, SleepR, CoarseTimeR, TcpR, UnixR, TlsR, UdpR>
impl<TaskR, SleepR, CoarseTimeR, TcpR, UnixR, TlsR, UdpR> Unpin for Inner<TaskR, SleepR, CoarseTimeR, TcpR, UnixR, TlsR, UdpR>
impl<TaskR, SleepR, CoarseTimeR, TcpR, UnixR, TlsR, UdpR> UnsafeUnpin for Inner<TaskR, SleepR, CoarseTimeR, TcpR, UnixR, TlsR, UdpR>where
TaskR: UnsafeUnpin,
SleepR: UnsafeUnpin,
CoarseTimeR: UnsafeUnpin,
TcpR: UnsafeUnpin,
UnixR: UnsafeUnpin,
TlsR: UnsafeUnpin,
UdpR: UnsafeUnpin,
impl<TaskR, SleepR, CoarseTimeR, TcpR, UnixR, TlsR, UdpR> UnwindSafe for Inner<TaskR, SleepR, CoarseTimeR, TcpR, UnixR, TlsR, UdpR>where
TaskR: UnwindSafe,
SleepR: UnwindSafe,
CoarseTimeR: UnwindSafe,
TcpR: UnwindSafe,
UnixR: UnwindSafe,
TlsR: UnwindSafe,
UdpR: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more