pub(crate) struct TimedOutSnafu;
Expand description
SNAFU context selector for the PersistenceError::TimedOut
variant
Implementations§
Source§impl TimedOutSnafu
impl TimedOutSnafu
Sourcepub(crate) fn build(self) -> PersistenceError
pub(crate) fn build(self) -> PersistenceError
Consume the selector and return the associated error
Sourcepub(crate) fn fail<__T>(self) -> Result<__T, PersistenceError>
pub(crate) fn fail<__T>(self) -> Result<__T, PersistenceError>
Consume the selector and return a Result
with the associated error
Trait Implementations§
Source§impl Clone for TimedOutSnafu
impl Clone for TimedOutSnafu
Source§fn clone(&self) -> TimedOutSnafu
fn clone(&self) -> TimedOutSnafu
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TimedOutSnafu
impl Debug for TimedOutSnafu
Source§impl IntoError<PersistenceError> for TimedOutSnafuwhere
PersistenceError: Error + ErrorCompat,
impl IntoError<PersistenceError> for TimedOutSnafuwhere
PersistenceError: Error + ErrorCompat,
Source§fn into_error(self, error: Self::Source) -> PersistenceError
fn into_error(self, error: Self::Source) -> PersistenceError
Combine the information to produce the error
impl Copy for TimedOutSnafu
Auto Trait Implementations§
impl Freeze for TimedOutSnafu
impl RefUnwindSafe for TimedOutSnafu
impl Send for TimedOutSnafu
impl Sync for TimedOutSnafu
impl Unpin for TimedOutSnafu
impl UnwindSafe for TimedOutSnafu
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