pub enum CacheServiceError {
Yaml(String),
InvalidNamespace(String),
MissingNamespace(String),
}Expand description
Errors returned by cache-service YAML parsing.
Variants§
Yaml(String)
The YAML document could not be parsed.
InvalidNamespace(String)
The namespace identifier was empty or contained control characters.
MissingNamespace(String)
The namespace was not present in the parsed YAML document.
Trait Implementations§
Source§impl Debug for CacheServiceError
impl Debug for CacheServiceError
Source§impl Display for CacheServiceError
impl Display for CacheServiceError
Source§impl Error for CacheServiceError
impl Error for CacheServiceError
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 From<CacheServiceError> for Error
impl From<CacheServiceError> for Error
Source§fn from(source: CacheServiceError) -> Self
fn from(source: CacheServiceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CacheServiceError
impl RefUnwindSafe for CacheServiceError
impl Send for CacheServiceError
impl Sync for CacheServiceError
impl Unpin for CacheServiceError
impl UnsafeUnpin for CacheServiceError
impl UnwindSafe for CacheServiceError
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