pub enum CompressionError {
Other(VectorscanRuntimeError),
NoSpace(usize, Vec<u8>),
}
Expand description
Failure to compress a stream into a buffer.
Variants§
Other(VectorscanRuntimeError)
other error: {0}
NoSpace(usize, Vec<u8>)
not enough space for {0} in buf {1:?}
Trait Implementations§
Source§impl Debug for CompressionError
impl Debug for CompressionError
Source§impl Display for CompressionError
impl Display for CompressionError
Source§impl Error for CompressionError
impl Error for CompressionError
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<CompressionError> for VectorscanError
impl From<CompressionError> for VectorscanError
Source§fn from(source: CompressionError) -> Self
fn from(source: CompressionError) -> Self
Converts to this type from the input type.
Source§impl From<VectorscanRuntimeError> for CompressionError
impl From<VectorscanRuntimeError> for CompressionError
Source§fn from(source: VectorscanRuntimeError) -> Self
fn from(source: VectorscanRuntimeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CompressionError
impl RefUnwindSafe for CompressionError
impl Send for CompressionError
impl Sync for CompressionError
impl Unpin for CompressionError
impl UnwindSafe for CompressionError
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