[−][src]Enum genawaiter::GeneratorState
The result of a generator resumption.
This is modeled after the stdlib's nightly-only
std::ops::GeneratorState
.
Variants
The generator suspended with a value.
The generator completed with a return value.
Trait Implementations
impl<Y: PartialEq, R: PartialEq> PartialEq<GeneratorState<Y, R>> for GeneratorState<Y, R>
[src]
fn eq(&self, other: &GeneratorState<Y, R>) -> bool
[src]
fn ne(&self, other: &GeneratorState<Y, R>) -> bool
[src]
impl<Y: Debug, R: Debug> Debug for GeneratorState<Y, R>
[src]
impl<Y, R> StructuralPartialEq for GeneratorState<Y, R>
[src]
Auto Trait Implementations
impl<Y, R> Send for GeneratorState<Y, R> where
R: Send,
Y: Send,
R: Send,
Y: Send,
impl<Y, R> Sync for GeneratorState<Y, R> where
R: Sync,
Y: Sync,
R: Sync,
Y: Sync,
impl<Y, R> Unpin for GeneratorState<Y, R> where
R: Unpin,
Y: Unpin,
R: Unpin,
Y: Unpin,
impl<Y, R> UnwindSafe for GeneratorState<Y, R> where
R: UnwindSafe,
Y: UnwindSafe,
R: UnwindSafe,
Y: UnwindSafe,
impl<Y, R> RefUnwindSafe for GeneratorState<Y, R> where
R: RefUnwindSafe,
Y: RefUnwindSafe,
R: RefUnwindSafe,
Y: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> 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,