pub enum MessageUnpackingError {
MessageIndexIsOutOfBounds(IndexIsOutOfBounds),
NoMessagesProvided,
LessMessagesThanExpected {
provided: usize,
expected: usize,
},
}Variants§
Trait Implementations§
Source§impl Clone for MessageUnpackingError
impl Clone for MessageUnpackingError
Source§fn clone(&self) -> MessageUnpackingError
fn clone(&self) -> MessageUnpackingError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessageUnpackingError
impl Debug for MessageUnpackingError
Source§impl From<IndexIsOutOfBounds> for MessageUnpackingError
impl From<IndexIsOutOfBounds> for MessageUnpackingError
Source§fn from(err: IndexIsOutOfBounds) -> Self
fn from(err: IndexIsOutOfBounds) -> Self
Converts to this type from the input type.
Source§impl From<MessageUnpackingError> for MessagesPoKError
impl From<MessageUnpackingError> for MessagesPoKError
Source§fn from(err: MessageUnpackingError) -> Self
fn from(err: MessageUnpackingError) -> Self
Converts to this type from the input type.
Source§impl From<MessageUnpackingError> for SignaturePoKError
impl From<MessageUnpackingError> for SignaturePoKError
Source§fn from(err: MessageUnpackingError) -> Self
fn from(err: MessageUnpackingError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MessageUnpackingError
impl PartialEq for MessageUnpackingError
impl Eq for MessageUnpackingError
impl StructuralPartialEq for MessageUnpackingError
Auto Trait Implementations§
impl Freeze for MessageUnpackingError
impl RefUnwindSafe for MessageUnpackingError
impl Send for MessageUnpackingError
impl Sync for MessageUnpackingError
impl Unpin for MessageUnpackingError
impl UnwindSafe for MessageUnpackingError
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