pub enum UAttributesError {
ValidationError(String),
ParsingError(String),
}
Variants§
Implementations§
Source§impl UAttributesError
impl UAttributesError
pub fn validation_error<T>(message: T) -> UAttributesError
pub fn parsing_error<T>(message: T) -> UAttributesError
Trait Implementations§
Source§impl Debug for UAttributesError
impl Debug for UAttributesError
Source§impl Display for UAttributesError
impl Display for UAttributesError
Source§impl Error for UAttributesError
impl Error for UAttributesError
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<UAttributesError> for UMessageError
impl From<UAttributesError> for UMessageError
Source§fn from(value: UAttributesError) -> Self
fn from(value: UAttributesError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UAttributesError
impl RefUnwindSafe for UAttributesError
impl Send for UAttributesError
impl Sync for UAttributesError
impl Unpin for UAttributesError
impl UnwindSafe for UAttributesError
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