pub struct UnstructuredError(pub String);Expand description
Error produced while building, detecting, or decoding a canonical unstructured text/binary carrier.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for UnstructuredError
impl Clone for UnstructuredError
Source§fn clone(&self) -> UnstructuredError
fn clone(&self) -> UnstructuredError
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 UnstructuredError
impl Debug for UnstructuredError
Source§impl Display for UnstructuredError
impl Display for UnstructuredError
impl Eq for UnstructuredError
Source§impl Error for UnstructuredError
impl Error for UnstructuredError
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<RefResolutionError> for UnstructuredError
impl From<RefResolutionError> for UnstructuredError
Source§fn from(err: RefResolutionError) -> UnstructuredError
fn from(err: RefResolutionError) -> UnstructuredError
Converts to this type from the input type.
Source§impl PartialEq for UnstructuredError
impl PartialEq for UnstructuredError
impl StructuralPartialEq for UnstructuredError
Auto Trait Implementations§
impl Freeze for UnstructuredError
impl RefUnwindSafe for UnstructuredError
impl Send for UnstructuredError
impl Sync for UnstructuredError
impl Unpin for UnstructuredError
impl UnsafeUnpin for UnstructuredError
impl UnwindSafe for UnstructuredError
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