pub struct NotFoundSnafu;
Expand description
SNAFU context selector for the SearchError::NotFound
variant
Implementationsยง
Sourceยงimpl NotFoundSnafu
impl NotFoundSnafu
Sourcepub fn build(self) -> SearchError
pub fn build(self) -> SearchError
Consume the selector and return the associated error
Sourcepub fn fail<__T>(self) -> Result<__T, SearchError>
pub fn fail<__T>(self) -> Result<__T, SearchError>
Consume the selector and return a Result
with the associated error
Trait Implementationsยง
Sourceยงimpl Clone for NotFoundSnafu
impl Clone for NotFoundSnafu
Sourceยงfn clone(&self) -> NotFoundSnafu
fn clone(&self) -> NotFoundSnafu
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 NotFoundSnafu
impl Debug for NotFoundSnafu
Sourceยงimpl IntoError<SearchError> for NotFoundSnafu
impl IntoError<SearchError> for NotFoundSnafu
Sourceยงfn into_error(self, error: Self::Source) -> SearchError
fn into_error(self, error: Self::Source) -> SearchError
Combine the information to produce the error
impl Copy for NotFoundSnafu
Auto Trait Implementationsยง
impl Freeze for NotFoundSnafu
impl RefUnwindSafe for NotFoundSnafu
impl Send for NotFoundSnafu
impl Sync for NotFoundSnafu
impl Unpin for NotFoundSnafu
impl UnwindSafe for NotFoundSnafu
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