pub enum DictionaryError {
WrongDictionary,
CorruptedDictionary,
}Available on crate feature
std only.Expand description
Error returned when dictionary bytes are not a usable Zstandard dictionary.
Variants§
Trait Implementations§
Source§impl Clone for DictionaryError
impl Clone for DictionaryError
impl Copy for DictionaryError
Source§impl Debug for DictionaryError
impl Debug for DictionaryError
Source§impl Display for DictionaryError
impl Display for DictionaryError
impl Eq for DictionaryError
Source§impl Error for DictionaryError
impl Error for DictionaryError
1.30.0 · 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 PartialEq for DictionaryError
impl PartialEq for DictionaryError
impl StructuralPartialEq for DictionaryError
Auto Trait Implementations§
impl Freeze for DictionaryError
impl RefUnwindSafe for DictionaryError
impl Send for DictionaryError
impl Sync for DictionaryError
impl Unpin for DictionaryError
impl UnsafeUnpin for DictionaryError
impl UnwindSafe for DictionaryError
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