pub enum FastCacheError {
Io(Error),
TomlDecode(Error),
TomlEncode(Error),
Protocol(String),
Command(String),
Config(String),
Persistence(String),
ChannelClosed(&'static str),
TaskJoin(String),
}Variants§
Io(Error)
TomlDecode(Error)
TomlEncode(Error)
Protocol(String)
Command(String)
Config(String)
Persistence(String)
ChannelClosed(&'static str)
TaskJoin(String)
Trait Implementations§
Source§impl Debug for FastCacheError
impl Debug for FastCacheError
Source§impl Display for FastCacheError
impl Display for FastCacheError
Source§impl Error for FastCacheError
impl Error for FastCacheError
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<Error> for FastCacheError
impl From<Error> for FastCacheError
Source§impl From<Error> for FastCacheError
impl From<Error> for FastCacheError
Auto Trait Implementations§
impl Freeze for FastCacheError
impl !RefUnwindSafe for FastCacheError
impl Send for FastCacheError
impl Sync for FastCacheError
impl Unpin for FastCacheError
impl UnsafeUnpin for FastCacheError
impl !UnwindSafe for FastCacheError
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