Struct utp::UtpStreamDriver [−][src]
#[must_use = "stream drivers must be spawned for the stream to work"]pub struct UtpStreamDriver { /* fields omitted */ }
Expand description
This is a Future
that takes care of handling all events related to
a UtpStream
. UtpStream
won’t receive neither send any data until this
driver is spawned as a tokio task.
Trait Implementations
impl Future for UtpStreamDriver
[src]
impl Future for UtpStreamDriver
[src]Auto Trait Implementations
impl !RefUnwindSafe for UtpStreamDriver
impl Send for UtpStreamDriver
impl Sync for UtpStreamDriver
impl Unpin for UtpStreamDriver
impl !UnwindSafe for UtpStreamDriver
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<F> IntoFuture for F where
F: Future,
[src]
impl<F> IntoFuture for F where
F: Future,
[src]type Output = <F as Future>::Output
type Output = <F as Future>::Output
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
pub fn into_future(self) -> <F as IntoFuture>::Future
[src]
pub fn into_future(self) -> <F as IntoFuture>::Future
[src]🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,