pub enum ErrorKind {
Show 14 variants
Io,
External,
Config,
ChannelClosed,
TaskCancelled,
Join,
Parse,
BufferSizeLimit,
ChecksumMismatch,
MagicMismatch,
OutOfRange,
NoSpace,
Closed,
Recover,
}Expand description
ErrorKind is all kinds of Error of foyer.
Variants§
Io
I/O error.
External
External error.
Config
Config error.
ChannelClosed
Channel closed.
TaskCancelled
Task cancelled.
Join
Join error.
Parse
Parse error.
BufferSizeLimit
Buffer size limit.
Not a real error.
Indicates that the buffer size has exceeded the limit and the caller may allocate a larger buffer and retry.
ChecksumMismatch
Checksum mismatch.
MagicMismatch
Magic mismatch.
OutOfRange
Out of range.
NoSpace
No sapce.
Closed
Closed.
Recover
Recover error.
Implementations§
Trait Implementations§
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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