pub struct BinarySnafu;Expand description
SNAFU context selector for the RequestError::Binary variant
Implementations§
Source§impl BinarySnafu
impl BinarySnafu
Sourcepub fn build(self) -> RequestError
pub fn build(self) -> RequestError
Consume the selector and return the associated error
Sourcepub fn fail<__T>(self) -> Result<__T, RequestError>
pub fn fail<__T>(self) -> Result<__T, RequestError>
Consume the selector and return a Result with the associated error
Trait Implementations§
Source§impl Clone for BinarySnafu
impl Clone for BinarySnafu
impl Copy for BinarySnafu
Source§impl Debug for BinarySnafu
impl Debug for BinarySnafu
Source§impl IntoError<RequestError> for BinarySnafu
impl IntoError<RequestError> for BinarySnafu
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 Freeze for BinarySnafu
impl RefUnwindSafe for BinarySnafu
impl Send for BinarySnafu
impl Sync for BinarySnafu
impl Unpin for BinarySnafu
impl UnsafeUnpin for BinarySnafu
impl UnwindSafe for BinarySnafu
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