pub enum CatalogDecodeError {
UnexpectedEof,
UnknownCatalogPayloadVersion {
got: u16,
},
UnknownEntryKind {
got: u16,
},
TrailingBytes,
TypeNestingTooDeep {
max: u32,
},
InvalidUtf8,
CollectionNameTooLong {
got: usize,
},
EmptyCollectionName,
InvalidCreateSchemaVersion {
got: u32,
},
IndexNameTooLong {
got: usize,
},
EmptyIndexName,
UnknownIndexKind {
got: u8,
},
}Variants§
UnexpectedEof
UnknownCatalogPayloadVersion
UnknownEntryKind
TrailingBytes
TypeNestingTooDeep
InvalidUtf8
CollectionNameTooLong
EmptyCollectionName
InvalidCreateSchemaVersion
IndexNameTooLong
EmptyIndexName
UnknownIndexKind
Trait Implementations§
Source§impl Clone for CatalogDecodeError
impl Clone for CatalogDecodeError
Source§fn clone(&self) -> CatalogDecodeError
fn clone(&self) -> CatalogDecodeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CatalogDecodeError
impl Debug for CatalogDecodeError
Source§impl From<CatalogDecodeError> for DbError
impl From<CatalogDecodeError> for DbError
Source§fn from(e: CatalogDecodeError) -> Self
fn from(e: CatalogDecodeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CatalogDecodeError
impl PartialEq for CatalogDecodeError
Source§fn eq(&self, other: &CatalogDecodeError) -> bool
fn eq(&self, other: &CatalogDecodeError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CatalogDecodeError
Auto Trait Implementations§
impl Freeze for CatalogDecodeError
impl RefUnwindSafe for CatalogDecodeError
impl Send for CatalogDecodeError
impl Sync for CatalogDecodeError
impl Unpin for CatalogDecodeError
impl UnsafeUnpin for CatalogDecodeError
impl UnwindSafe for CatalogDecodeError
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