pub struct Abort;
Expand description
Trait Implementations§
Source§impl Strategy for Abort
impl Strategy for Abort
Source§fn create<T, E>(
__strategy_impl_value: Result<T, E>,
) -> <Self as Strategy>::Result<T, E>
fn create<T, E>( __strategy_impl_value: Result<T, E>, ) -> <Self as Strategy>::Result<T, E>
Transform a full
Result
into the desired output. Read moreSource§fn map<T, E, __STRATEGY_IMPL_U, __STRATEGY_IMPL_F>(
v: <Self as Strategy>::Result<T, E>,
f: __STRATEGY_IMPL_F,
) -> <Self as Strategy>::Result<__STRATEGY_IMPL_U, E>where
__STRATEGY_IMPL_F: FnOnce(T) -> __STRATEGY_IMPL_U,
fn map<T, E, __STRATEGY_IMPL_U, __STRATEGY_IMPL_F>(
v: <Self as Strategy>::Result<T, E>,
f: __STRATEGY_IMPL_F,
) -> <Self as Strategy>::Result<__STRATEGY_IMPL_U, E>where
__STRATEGY_IMPL_F: FnOnce(T) -> __STRATEGY_IMPL_U,
Transform an ok result of one type to an ok result of another.
Source§fn map_err<T, E, __STRATEGY_IMPL_V, __STRATEGY_IMPL_F>(
v: <Self as Strategy>::Result<T, E>,
_: __STRATEGY_IMPL_F,
) -> <Self as Strategy>::Result<T, __STRATEGY_IMPL_V>where
__STRATEGY_IMPL_F: FnOnce(E) -> __STRATEGY_IMPL_V,
fn map_err<T, E, __STRATEGY_IMPL_V, __STRATEGY_IMPL_F>(
v: <Self as Strategy>::Result<T, E>,
_: __STRATEGY_IMPL_F,
) -> <Self as Strategy>::Result<T, __STRATEGY_IMPL_V>where
__STRATEGY_IMPL_F: FnOnce(E) -> __STRATEGY_IMPL_V,
Transform an error result of one type to an error result of another.
Auto Trait Implementations§
impl Freeze for Abort
impl RefUnwindSafe for Abort
impl Send for Abort
impl Sync for Abort
impl Unpin for Abort
impl UnwindSafe for Abort
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