pub struct MissingVersionFieldSnafu;Expand description
SNAFU context selector for the ParseError::MissingVersionField variant
Implementations§
Source§impl MissingVersionFieldSnafu
impl MissingVersionFieldSnafu
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 Clone for MissingVersionFieldSnafu
impl Clone for MissingVersionFieldSnafu
Source§fn clone(&self) -> MissingVersionFieldSnafu
fn clone(&self) -> MissingVersionFieldSnafu
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MissingVersionFieldSnafu
Source§impl Debug for MissingVersionFieldSnafu
impl Debug for MissingVersionFieldSnafu
Source§impl IntoError<ParseError> for MissingVersionFieldSnafu
impl IntoError<ParseError> for MissingVersionFieldSnafu
Source§fn into_error(self, error: Self::Source) -> ParseError
fn into_error(self, error: Self::Source) -> ParseError
Combine the information to produce the error
Auto Trait Implementations§
impl Freeze for MissingVersionFieldSnafu
impl RefUnwindSafe for MissingVersionFieldSnafu
impl Send for MissingVersionFieldSnafu
impl Sync for MissingVersionFieldSnafu
impl Unpin for MissingVersionFieldSnafu
impl UnsafeUnpin for MissingVersionFieldSnafu
impl UnwindSafe for MissingVersionFieldSnafu
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