pub enum UtilError {
ParseCronError(String),
SerializeError(String),
DeSerializeError(String),
DecodeBase64Error(String),
ConvertUtf8Error(String),
SetLogLevelError(String),
GetParentPathError,
CreateDirectoryError,
WriteError,
ReadError,
}Variants§
ParseCronError(String)
SerializeError(String)
DeSerializeError(String)
DecodeBase64Error(String)
ConvertUtf8Error(String)
SetLogLevelError(String)
GetParentPathError
CreateDirectoryError
WriteError
ReadError
Implementations§
Source§impl UtilError
impl UtilError
pub fn traced_parse_cron_error(err: impl Display) -> Self
pub fn traced_serialize_error(err: impl Display) -> Self
pub fn traced_deserialize_error(err: impl Display) -> Self
pub fn traced_set_log_level_error(err: impl Display) -> Self
pub fn traced_decode_base64_error(err: impl Display) -> Self
pub fn traced_convert_utf8_error(err: impl Display) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UtilError
impl<'de> Deserialize<'de> for UtilError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Error for UtilError
impl Error for UtilError
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<UtilError> for EventError
impl From<UtilError> for EventError
Source§impl From<UtilError> for ScouterError
impl From<UtilError> for ScouterError
Source§impl From<UtilError> for StorageError
impl From<UtilError> for StorageError
impl StructuralPartialEq for UtilError
Auto Trait Implementations§
impl Freeze for UtilError
impl RefUnwindSafe for UtilError
impl Send for UtilError
impl Sync for UtilError
impl Unpin for UtilError
impl UnwindSafe for UtilError
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