pub enum SeqVecError {
Io(Error),
Bitstream(Box<dyn Error + Send + Sync>),
InvalidParameters(String),
CodecDispatch(String),
IndexOutOfBounds(usize),
}Expand description
Errors that can occur when working with SeqVec.
Variants§
Io(Error)
An I/O error from bitstream operations.
Bitstream(Box<dyn Error + Send + Sync>)
An error from the bitstream library during encoding or decoding.
InvalidParameters(String)
Invalid parameters were provided during construction.
CodecDispatch(String)
An error during codec resolution or dispatch.
IndexOutOfBounds(usize)
The requested sequence index is out of bounds.
Trait Implementations§
Source§impl Debug for SeqVecError
impl Debug for SeqVecError
Source§impl Display for SeqVecError
impl Display for SeqVecError
Source§impl Error for SeqVecError
impl Error for SeqVecError
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> for SeqVecError
impl From<Error> for SeqVecError
Source§impl From<Error> for SeqVecError
impl From<Error> for SeqVecError
Source§fn from(e: FixedVecError) -> Self
fn from(e: FixedVecError) -> Self
Converts to this type from the input type.
Source§impl From<Infallible> for SeqVecError
impl From<Infallible> for SeqVecError
Source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SeqVecError
impl !RefUnwindSafe for SeqVecError
impl Send for SeqVecError
impl Sync for SeqVecError
impl Unpin for SeqVecError
impl UnsafeUnpin for SeqVecError
impl !UnwindSafe for SeqVecError
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
Source§impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
Source§impl<T> DowncastableFrom<T> for T
impl<T> DowncastableFrom<T> for T
Source§fn downcast_from(value: T) -> T
fn downcast_from(value: T) -> T
Truncate the current UnsignedInt to a possibly smaller size
Source§impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> UpcastableFrom<T> for T
impl<T> UpcastableFrom<T> for T
Source§fn upcast_from(value: T) -> T
fn upcast_from(value: T) -> T
Extend the current UnsignedInt to a possibly bigger size.