pub struct LocationNotExistSnafu<__T0> {
pub location: __T0,
}Expand description
SNAFU context selector for the LocateLocationFailed::LocationNotExist variant
Fields§
§location: __T0Implementations§
Source§impl<__T0> LocationNotExistSnafu<__T0>
impl<__T0> LocationNotExistSnafu<__T0>
Sourcepub fn build(self) -> LocateLocationFailedwhere
__T0: Into<LocationPattern>,
pub fn build(self) -> LocateLocationFailedwhere
__T0: Into<LocationPattern>,
Consume the selector and return the associated error
Sourcepub fn fail<__T>(self) -> Result<__T, LocateLocationFailed>where
__T0: Into<LocationPattern>,
pub fn fail<__T>(self) -> Result<__T, LocateLocationFailed>where
__T0: Into<LocationPattern>,
Consume the selector and return a Result with the associated error
Trait Implementations§
Source§impl<__T0: Clone> Clone for LocationNotExistSnafu<__T0>
impl<__T0: Clone> Clone for LocationNotExistSnafu<__T0>
Source§fn clone(&self) -> LocationNotExistSnafu<__T0>
fn clone(&self) -> LocationNotExistSnafu<__T0>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<__T0: Copy> Copy for LocationNotExistSnafu<__T0>
Source§impl<__T0: Debug> Debug for LocationNotExistSnafu<__T0>
impl<__T0: Debug> Debug for LocationNotExistSnafu<__T0>
Source§impl<__T0> IntoError<LocateLocationFailed> for LocationNotExistSnafu<__T0>
impl<__T0> IntoError<LocateLocationFailed> for LocationNotExistSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> LocateLocationFailed
fn into_error(self, error: Self::Source) -> LocateLocationFailed
Combine the information to produce the error
Auto Trait Implementations§
impl<__T0> Freeze for LocationNotExistSnafu<__T0>where
__T0: Freeze,
impl<__T0> RefUnwindSafe for LocationNotExistSnafu<__T0>where
__T0: RefUnwindSafe,
impl<__T0> Send for LocationNotExistSnafu<__T0>where
__T0: Send,
impl<__T0> Sync for LocationNotExistSnafu<__T0>where
__T0: Sync,
impl<__T0> Unpin for LocationNotExistSnafu<__T0>where
__T0: Unpin,
impl<__T0> UnsafeUnpin for LocationNotExistSnafu<__T0>where
__T0: UnsafeUnpin,
impl<__T0> UnwindSafe for LocationNotExistSnafu<__T0>where
__T0: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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