Struct dodo::CollectionError [−][src]
pub struct CollectionError(_);
Collection error.
Implementations
impl CollectionError
[src]
impl CollectionError
[src]pub fn kind(&self) -> CollectionErrorKind
[src]
Error kind.
pub fn is_not_found(&self) -> bool
[src]
Returns true if this error is NotFound.
pub fn is_unidentified(&self) -> bool
[src]
Returns true if this error is Unidentified.
pub fn is_syntax(&self) -> bool
[src]
Returns true if this error a Syntax.
pub fn is_storage_corrupted(&self) -> bool
[src]
Returns true if this error a StorageCorrupted.
pub fn is_io(&self) -> bool
[src]
Returns true if this error Io.
pub fn is_other(&self) -> bool
[src]
Returns true if this error is Other.
Trait Implementations
impl Error for CollectionError
[src]
impl Error for CollectionError
[src]impl From<SerializerError> for CollectionError
[src]
impl From<SerializerError> for CollectionError
[src]fn from(error: SerializerError) -> Self
[src]
impl From<StorageError> for CollectionError
[src]
impl From<StorageError> for CollectionError
[src]fn from(error: StorageError) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for CollectionError
impl !RefUnwindSafe for CollectionError
impl Send for CollectionError
impl Send for CollectionError
impl Sync for CollectionError
impl Sync for CollectionError
impl Unpin for CollectionError
impl Unpin for CollectionError
impl !UnwindSafe for CollectionError
impl !UnwindSafe for CollectionError