[−][src]Struct drone_core::fib::FiberGen
Trait Implementations
impl<G> Fiber for FiberGen<G> where
G: Generator,
[src]
G: Generator,
type Input = ()
The type of value this fiber consumes on each resume
.
type Yield = G::Yield
The type of value this fiber yields.
type Return = G::Return
The type of value this fiber returns on completion.
fn resume(self: Pin<&mut Self>, (): ()) -> FiberState<G::Yield, G::Return>
[src]
impl<G> FiberRoot for FiberGen<G> where
G: Generator<Yield = (), Return = ()>,
G: Send + 'static,
[src]
G: Generator<Yield = (), Return = ()>,
G: Send + 'static,
Auto Trait Implementations
impl<G> Unpin for FiberGen<G> where
G: Unpin,
G: Unpin,
impl<G> Send for FiberGen<G> where
G: Send,
G: Send,
impl<G> Sync for FiberGen<G> where
G: Sync,
G: Sync,
Blanket Implementations
impl<T> From<T> for 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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,