pub(crate) struct ArkDeSnafu<__T0> {
pub(crate) err: __T0,
}
Expand description
SNAFU context selector for the PersistenceError::ArkDe
variant
Fields§
§err: __T0
Implementations§
Source§impl<__T0> ArkDeSnafu<__T0>
impl<__T0> ArkDeSnafu<__T0>
Sourcepub(crate) fn build(self) -> PersistenceErrorwhere
__T0: Into<SerializationError>,
pub(crate) fn build(self) -> PersistenceErrorwhere
__T0: Into<SerializationError>,
Consume the selector and return the associated error
Sourcepub(crate) fn fail<__T>(self) -> Result<__T, PersistenceError>where
__T0: Into<SerializationError>,
pub(crate) fn fail<__T>(self) -> Result<__T, PersistenceError>where
__T0: Into<SerializationError>,
Consume the selector and return a Result
with the associated error
Trait Implementations§
Source§impl<__T0: Clone> Clone for ArkDeSnafu<__T0>
impl<__T0: Clone> Clone for ArkDeSnafu<__T0>
Source§fn clone(&self) -> ArkDeSnafu<__T0>
fn clone(&self) -> ArkDeSnafu<__T0>
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<__T0: Debug> Debug for ArkDeSnafu<__T0>
impl<__T0: Debug> Debug for ArkDeSnafu<__T0>
Source§impl<__T0> IntoError<PersistenceError> for ArkDeSnafu<__T0>
impl<__T0> IntoError<PersistenceError> for ArkDeSnafu<__T0>
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<__T0: Copy> Copy for ArkDeSnafu<__T0>
Auto Trait Implementations§
impl<__T0> Freeze for ArkDeSnafu<__T0>where
__T0: Freeze,
impl<__T0> RefUnwindSafe for ArkDeSnafu<__T0>where
__T0: RefUnwindSafe,
impl<__T0> Send for ArkDeSnafu<__T0>where
__T0: Send,
impl<__T0> Sync for ArkDeSnafu<__T0>where
__T0: Sync,
impl<__T0> Unpin for ArkDeSnafu<__T0>where
__T0: Unpin,
impl<__T0> UnwindSafe for ArkDeSnafu<__T0>where
__T0: 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