pub enum FlatEncodeError {
Overflow {
byte: u8,
num_bits: usize,
},
BufferNotByteAligned,
BlsElementNotSupported,
EncodeCbor(Error<Infallible>),
}Variants§
Trait Implementations§
Source§impl Debug for FlatEncodeError
impl Debug for FlatEncodeError
Source§impl Display for FlatEncodeError
impl Display for FlatEncodeError
Source§impl Error for FlatEncodeError
impl Error for FlatEncodeError
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<Error<Infallible>> for FlatEncodeError
impl From<Error<Infallible>> for FlatEncodeError
Source§fn from(source: Error<Infallible>) -> Self
fn from(source: Error<Infallible>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FlatEncodeError
impl !RefUnwindSafe for FlatEncodeError
impl Send for FlatEncodeError
impl Sync for FlatEncodeError
impl Unpin for FlatEncodeError
impl UnsafeUnpin for FlatEncodeError
impl !UnwindSafe for FlatEncodeError
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