pub struct Done<'o>(/* private fields */);Trait Implementations§
Source§impl<'o> FromResidual<Done<'o>> for Done<'o>
impl<'o> FromResidual<Done<'o>> for Done<'o>
Source§fn from_residual(residual: Done<'o>) -> Self
fn from_residual(residual: Done<'o>) -> Self
🔬This is a nightly-only experimental API. (
try_trait_v2)Constructs the type from a compatible
Residual type. Read moreSource§impl<'o, O: Operation<'o>> FromResidual<Interruptible<'o, O, Infallible>> for Done<'o>
impl<'o, O: Operation<'o>> FromResidual<Interruptible<'o, O, Infallible>> for Done<'o>
Source§fn from_residual(residual: Interruptible<'o, O, Infallible>) -> Self
fn from_residual(residual: Interruptible<'o, O, Infallible>) -> Self
🔬This is a nightly-only experimental API. (
try_trait_v2)Constructs the type from a compatible
Residual type. Read moreSource§impl<'o, T: Into<Done<'o>>> FromResidual<Result<Infallible, T>> for Done<'o>
impl<'o, T: Into<Done<'o>>> FromResidual<Result<Infallible, T>> for Done<'o>
Source§fn from_residual(residual: Result<Infallible, T>) -> Self
fn from_residual(residual: Result<Infallible, T>) -> Self
🔬This is a nightly-only experimental API. (
try_trait_v2)Constructs the type from a compatible
Residual type. Read moreSource§impl Try for Done<'_>
impl Try for Done<'_>
Source§type Output = Done<'_>
type Output = Done<'_>
🔬This is a nightly-only experimental API. (
try_trait_v2)The type of the value produced by
? when not short-circuiting.Source§type Residual = Done<'_>
type Residual = Done<'_>
🔬This is a nightly-only experimental API. (
try_trait_v2)The type of the value passed to
FromResidual::from_residual
as part of ? when short-circuiting. Read moreSource§fn from_output(output: Self::Output) -> Self
fn from_output(output: Self::Output) -> Self
🔬This is a nightly-only experimental API. (
try_trait_v2)Constructs the type from its
Output type. Read moreSource§fn branch(self) -> ControlFlow<Self::Residual, Self::Output>
fn branch(self) -> ControlFlow<Self::Residual, Self::Output>
🔬This is a nightly-only experimental API. (
try_trait_v2)Used in
? to decide whether the operator should produce a value
(because this returned ControlFlow::Continue)
or propagate a value back to the caller
(because this returned ControlFlow::Break). Read moreAuto Trait Implementations§
impl<'o> Freeze for Done<'o>
impl<'o> RefUnwindSafe for Done<'o>
impl<'o> Send for Done<'o>
impl<'o> Sync for Done<'o>
impl<'o> Unpin for Done<'o>
impl<'o> !UnwindSafe for Done<'o>
Blanket Implementations§
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