Struct cbork_cddl_parser::CDDLError
source · pub struct CDDLError(pub(crate) CDDLErrorType);
Expand description
Represents an error that may occur during CDDL parsing.
Tuple Fields§
§0: CDDLErrorType
Trait Implementations§
source§impl Error for CDDLError
impl Error for CDDLError
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<CDDLErrorType> for CDDLError
impl From<CDDLErrorType> for CDDLError
source§fn from(value: CDDLErrorType) -> Self
fn from(value: CDDLErrorType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CDDLError
impl RefUnwindSafe for CDDLError
impl Send for CDDLError
impl Sync for CDDLError
impl Unpin for CDDLError
impl UnwindSafe for CDDLError
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