pub struct Act<Type> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Termination for Act<()>
impl Termination for Act<()>
Source§impl<Type> Try for Act<Type>
impl<Type> Try for Act<Type>
Source§type Output = Type
type Output = Type
🔬This is a nightly-only experimental API. (
try_trait_v2)The type of the value produced by
? when not short-circuiting.Source§type Residual = Break
type Residual = Break
🔬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<Type> Freeze for Act<Type>where
Type: Freeze,
impl<Type> RefUnwindSafe for Act<Type>where
Type: RefUnwindSafe,
impl<Type> Send for Act<Type>where
Type: Send,
impl<Type> Sync for Act<Type>where
Type: Sync,
impl<Type> Unpin for Act<Type>where
Type: Unpin,
impl<Type> UnsafeUnpin for Act<Type>where
Type: UnsafeUnpin,
impl<Type> UnwindSafe for Act<Type>where
Type: UnwindSafe,
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