pub enum MessageListingError {
Parse(Error),
Attr(AttrError),
InvalidInt(ParseIntError),
}Expand description
quick-xml parse, attribute decode, and u32 invalid int.
Variants§
Parse(Error)
Underlying quick-xml reader error; also covers entity-decoding failures.
Attr(AttrError)
Attribute encoding error from quick-xml.
InvalidInt(ParseIntError)
Numeric attribute (size) could not be parsed as a u32.
Trait Implementations§
Source§impl Debug for MessageListingError
impl Debug for MessageListingError
Source§impl Display for MessageListingError
impl Display for MessageListingError
Source§impl Error for MessageListingError
impl Error for MessageListingError
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<AttrError> for MessageListingError
impl From<AttrError> for MessageListingError
Source§impl From<Error> for MessageListingError
impl From<Error> for MessageListingError
Source§impl From<MessageListingError> for MapError
impl From<MessageListingError> for MapError
Source§fn from(source: MessageListingError) -> Self
fn from(source: MessageListingError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for MessageListingError
impl From<ParseIntError> for MessageListingError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for MessageListingError
impl !UnwindSafe for MessageListingError
impl Freeze for MessageListingError
impl Send for MessageListingError
impl Sync for MessageListingError
impl Unpin for MessageListingError
impl UnsafeUnpin for MessageListingError
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