pub struct VersionConflictSnafu<__T0, __T1, __T2> {
pub message: __T0,
pub major_version: __T1,
pub minor_version: __T2,
}
Expand description
SNAFU context selector for the Error::VersionConflict
variant
Fields§
§message: __T0
§major_version: __T1
§minor_version: __T2
Implementations§
Trait Implementations§
Source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for VersionConflictSnafu<__T0, __T1, __T2>
impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for VersionConflictSnafu<__T0, __T1, __T2>
Source§fn clone(&self) -> VersionConflictSnafu<__T0, __T1, __T2>
fn clone(&self) -> VersionConflictSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for VersionConflictSnafu<__T0, __T1, __T2>
impl<__T0, __T1, __T2> IntoError<Error> for VersionConflictSnafu<__T0, __T1, __T2>
impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for VersionConflictSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
impl<__T0, __T1, __T2> Freeze for VersionConflictSnafu<__T0, __T1, __T2>
impl<__T0, __T1, __T2> RefUnwindSafe for VersionConflictSnafu<__T0, __T1, __T2>
impl<__T0, __T1, __T2> Send for VersionConflictSnafu<__T0, __T1, __T2>
impl<__T0, __T1, __T2> Sync for VersionConflictSnafu<__T0, __T1, __T2>
impl<__T0, __T1, __T2> Unpin for VersionConflictSnafu<__T0, __T1, __T2>
impl<__T0, __T1, __T2> UnwindSafe for VersionConflictSnafu<__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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 more