Enum rpsl::AttributeError
source · pub enum AttributeError {
InvalidName(InvalidNameError),
InvalidValue(InvalidValueError),
}
Expand description
An error that can occur when parsing or trying to create an attribute that is invalid.
Variants§
InvalidName(InvalidNameError)
The name of the attribute is invalid.
InvalidValue(InvalidValueError)
The value of the attribute is invalid.
Trait Implementations§
source§impl Debug for AttributeError
impl Debug for AttributeError
source§impl Display for AttributeError
impl Display for AttributeError
source§impl Error for AttributeError
impl Error for AttributeError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 RefUnwindSafe for AttributeError
impl Send for AttributeError
impl Sync for AttributeError
impl Unpin for AttributeError
impl UnwindSafe for AttributeError
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