pub struct TimeSnafu<__T0> {
pub local_result: __T0,
}Expand description
SNAFU context selector for the ParseError::Time variant
Fields§
§local_result: __T0Implementations§
Source§impl<__T0> TimeSnafu<__T0>
impl<__T0> TimeSnafu<__T0>
Sourcepub fn build(self) -> ParseError
pub fn build(self) -> ParseError
Consume the selector and return the associated error
Sourcepub fn fail<__T>(self) -> Result<__T, ParseError>
pub fn fail<__T>(self) -> Result<__T, ParseError>
Consume the selector and return a Result with the associated error
Trait Implementations§
Source§impl<__T0> IntoError<ParseError> for TimeSnafu<__T0>
impl<__T0> IntoError<ParseError> for TimeSnafu<__T0>
Source§fn into_error(self, error: Self::Source) -> ParseError
fn into_error(self, error: Self::Source) -> ParseError
Combine the information to produce the error
impl<__T0: Copy> Copy for TimeSnafu<__T0>
Auto Trait Implementations§
impl<__T0> Freeze for TimeSnafu<__T0>where
__T0: Freeze,
impl<__T0> RefUnwindSafe for TimeSnafu<__T0>where
__T0: RefUnwindSafe,
impl<__T0> Send for TimeSnafu<__T0>where
__T0: Send,
impl<__T0> Sync for TimeSnafu<__T0>where
__T0: Sync,
impl<__T0> Unpin for TimeSnafu<__T0>where
__T0: Unpin,
impl<__T0> UnwindSafe for TimeSnafu<__T0>where
__T0: 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