pub enum MessageMetadataError {
Io(Error),
OptionIndex(<Option<MilestoneIndex> as Packable>::Error),
OptionIndexId(<Option<IndexId> as Packable>::Error),
Conflict(ConflictError),
}Expand description
An error that may occur when manipulating message metadata.
Variants§
Io(Error)
An IO error occurred.
OptionIndex(<Option<MilestoneIndex> as Packable>::Error)
A packing error occurred.
OptionIndexId(<Option<IndexId> as Packable>::Error)
A packing error occurred.
Conflict(ConflictError)
An error relating to a conflict reason occurred.
Trait Implementations§
Source§impl Debug for MessageMetadataError
impl Debug for MessageMetadataError
Source§impl From<Error> for MessageMetadataError
impl From<Error> for MessageMetadataError
Source§impl From<OptionError<Error>> for MessageMetadataError
impl From<OptionError<Error>> for MessageMetadataError
Source§fn from(error: OptionError<Error>) -> Self
fn from(error: OptionError<Error>) -> Self
Converts to this type from the input type.
Source§impl From<OptionError<IndexIdError>> for MessageMetadataError
impl From<OptionError<IndexIdError>> for MessageMetadataError
Source§fn from(error: OptionError<IndexIdError>) -> Self
fn from(error: OptionError<IndexIdError>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MessageMetadataError
impl !RefUnwindSafe for MessageMetadataError
impl Send for MessageMetadataError
impl Sync for MessageMetadataError
impl Unpin for MessageMetadataError
impl !UnwindSafe for MessageMetadataError
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