pub struct DeviceSampleError { /* private fields */ }Expand description
A strict device sample decoding error.
The error intentionally carries a human-readable message only. Device sample parsers reject malformed data at the first invalid field rather than trying to coerce or infer a sample from partial input.
Implementations§
Trait Implementations§
Source§impl Clone for DeviceSampleError
impl Clone for DeviceSampleError
Source§fn clone(&self) -> DeviceSampleError
fn clone(&self) -> DeviceSampleError
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 moreSource§impl Debug for DeviceSampleError
impl Debug for DeviceSampleError
Source§impl Display for DeviceSampleError
impl Display for DeviceSampleError
impl Eq for DeviceSampleError
Source§impl Error for DeviceSampleError
impl Error for DeviceSampleError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<DeviceSampleError> for Error
impl From<DeviceSampleError> for Error
Source§fn from(error: DeviceSampleError) -> Self
fn from(error: DeviceSampleError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DeviceSampleError
impl PartialEq for DeviceSampleError
impl StructuralPartialEq for DeviceSampleError
Auto Trait Implementations§
impl Freeze for DeviceSampleError
impl RefUnwindSafe for DeviceSampleError
impl Send for DeviceSampleError
impl Sync for DeviceSampleError
impl Unpin for DeviceSampleError
impl UnsafeUnpin for DeviceSampleError
impl UnwindSafe for DeviceSampleError
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