Struct dicom_encoding::adapters::encode_error::NotNativeSnafu
source · pub struct NotNativeSnafu;Expand description
SNAFU context selector for the EncodeError::NotNative variant
Implementations§
source§impl NotNativeSnafu
impl NotNativeSnafu
sourcepub fn build(self) -> EncodeError
pub fn build(self) -> EncodeError
Consume the selector and return the associated error
sourcepub fn fail<__T>(self) -> Result<__T, EncodeError>
pub fn fail<__T>(self) -> Result<__T, EncodeError>
Consume the selector and return a Result with the associated error
Trait Implementations§
source§impl Clone for NotNativeSnafu
impl Clone for NotNativeSnafu
source§fn clone(&self) -> NotNativeSnafu
fn clone(&self) -> NotNativeSnafu
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 Debug for NotNativeSnafu
impl Debug for NotNativeSnafu
source§impl IntoError<EncodeError> for NotNativeSnafuwhere
EncodeError: Error + ErrorCompat,
impl IntoError<EncodeError> for NotNativeSnafuwhere EncodeError: Error + ErrorCompat,
source§fn into_error(self, error: Self::Source) -> EncodeError
fn into_error(self, error: Self::Source) -> EncodeError
Combine the information to produce the error
impl Copy for NotNativeSnafu
Auto Trait Implementations§
impl RefUnwindSafe for NotNativeSnafu
impl Send for NotNativeSnafu
impl Sync for NotNativeSnafu
impl Unpin for NotNativeSnafu
impl UnwindSafe for NotNativeSnafu
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