Expand description
Errors that arise when interacting with views.
Variants§
KeySerialization(Box<dyn AnyError + 'static, Global>)
An error occurred while serializing or deserializing keys emitted in a view.
Core(Error)
An error unrelated to views.
Implementations§
§impl Error
impl Error
pub fn key_serialization<E>(error: E) -> Errorwhere
E: AnyError,
pub fn key_serialization<E>(error: E) -> Errorwhere
E: AnyError,
Returns a Self::KeySerialization
instance after boxing the error.
Trait Implementations§
§impl Error for Error
impl Error for Error
§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()