pub enum CustomSectionLookupError {
Missing,
Multiple,
MalformedData(Error),
}Variants§
Implementations§
Source§impl CustomSectionLookupError
impl CustomSectionLookupError
Sourcepub fn is_missing(&self) -> bool
pub fn is_missing(&self) -> bool
Returns whether the value is of the Missing variant.
Trait Implementations§
Source§impl Debug for CustomSectionLookupError
impl Debug for CustomSectionLookupError
Source§impl Display for CustomSectionLookupError
impl Display for CustomSectionLookupError
Source§impl Error for CustomSectionLookupError
impl Error for CustomSectionLookupError
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()
Auto Trait Implementations§
impl Freeze for CustomSectionLookupError
impl RefUnwindSafe for CustomSectionLookupError
impl Send for CustomSectionLookupError
impl Sync for CustomSectionLookupError
impl Unpin for CustomSectionLookupError
impl UnwindSafe for CustomSectionLookupError
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