pub struct IntegerOverflowSnafu<__T0, __T1> {
pub value: __T0,
pub expected: __T1,
}Expand description
SNAFU context selector for the RequestError::IntegerOverflow variant
Fields§
§value: __T0§expected: __T1Implementations§
Source§impl<__T0, __T1> IntegerOverflowSnafu<__T0, __T1>
impl<__T0, __T1> IntegerOverflowSnafu<__T0, __T1>
Sourcepub fn build(self) -> RequestError
pub fn build(self) -> RequestError
Consume the selector and return the associated error
Trait Implementations§
impl<__T0: Copy, __T1: Copy> Copy for IntegerOverflowSnafu<__T0, __T1>
Source§impl<__T0, __T1> IntoError<RequestError> for IntegerOverflowSnafu<__T0, __T1>
impl<__T0, __T1> IntoError<RequestError> for IntegerOverflowSnafu<__T0, __T1>
Source§fn into_error(self, error: Self::Source) -> RequestError
fn into_error(self, error: Self::Source) -> RequestError
Combine the information to produce the error
Auto Trait Implementations§
impl<__T0, __T1> Freeze for IntegerOverflowSnafu<__T0, __T1>
impl<__T0, __T1> RefUnwindSafe for IntegerOverflowSnafu<__T0, __T1>where
__T0: RefUnwindSafe,
__T1: RefUnwindSafe,
impl<__T0, __T1> Send for IntegerOverflowSnafu<__T0, __T1>
impl<__T0, __T1> Sync for IntegerOverflowSnafu<__T0, __T1>
impl<__T0, __T1> Unpin for IntegerOverflowSnafu<__T0, __T1>
impl<__T0, __T1> UnsafeUnpin for IntegerOverflowSnafu<__T0, __T1>where
__T0: UnsafeUnpin,
__T1: UnsafeUnpin,
impl<__T0, __T1> UnwindSafe for IntegerOverflowSnafu<__T0, __T1>where
__T0: UnwindSafe,
__T1: 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