pub struct EventNotFoundSnafu<__T0, __T1, __T2> {
pub start: __T0,
pub end: __T1,
pub event: __T2,
}Available on crate feature
analysis only.Expand description
SNAFU context selector for the AnalysisError::EventNotFound variant
Fields§
§start: __T0§end: __T1§event: __T2Implementations§
Source§impl<__T0, __T1, __T2> EventNotFoundSnafu<__T0, __T1, __T2>
impl<__T0, __T1, __T2> EventNotFoundSnafu<__T0, __T1, __T2>
Sourcepub fn build(self) -> AnalysisError
pub fn build(self) -> AnalysisError
Consume the selector and return the associated error
Trait Implementations§
Source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for EventNotFoundSnafu<__T0, __T1, __T2>
impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for EventNotFoundSnafu<__T0, __T1, __T2>
Source§fn clone(&self) -> EventNotFoundSnafu<__T0, __T1, __T2>
fn clone(&self) -> EventNotFoundSnafu<__T0, __T1, __T2>
Returns a duplicate 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, __T1, __T2> IntoError<AnalysisError> for EventNotFoundSnafu<__T0, __T1, __T2>where
AnalysisError: Error + ErrorCompat,
__T0: Into<Epoch>,
__T1: Into<Epoch>,
__T2: Into<Box<Event>>,
impl<__T0, __T1, __T2> IntoError<AnalysisError> for EventNotFoundSnafu<__T0, __T1, __T2>where
AnalysisError: Error + ErrorCompat,
__T0: Into<Epoch>,
__T1: Into<Epoch>,
__T2: Into<Box<Event>>,
Source§fn into_error(self, error: Self::Source) -> AnalysisError
fn into_error(self, error: Self::Source) -> AnalysisError
Combine the information to produce the error
impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for EventNotFoundSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
impl<__T0, __T1, __T2> Freeze for EventNotFoundSnafu<__T0, __T1, __T2>
impl<__T0, __T1, __T2> RefUnwindSafe for EventNotFoundSnafu<__T0, __T1, __T2>
impl<__T0, __T1, __T2> Send for EventNotFoundSnafu<__T0, __T1, __T2>
impl<__T0, __T1, __T2> Sync for EventNotFoundSnafu<__T0, __T1, __T2>
impl<__T0, __T1, __T2> Unpin for EventNotFoundSnafu<__T0, __T1, __T2>
impl<__T0, __T1, __T2> UnsafeUnpin for EventNotFoundSnafu<__T0, __T1, __T2>
impl<__T0, __T1, __T2> UnwindSafe for EventNotFoundSnafu<__T0, __T1, __T2>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.