pub enum CFError {
EnvNotSet,
MalformedJSON,
ServiceNotPresent(String),
}Expand description
Enumeration of the different errors that can occur.
Variants§
EnvNotSet
Error when the environment variable is not set.
MalformedJSON
Error then the environment variable JSON is malformed.
ServiceNotPresent(String)
Error when a service is not present.
Trait Implementations§
impl StructuralPartialEq for CFError
Auto Trait Implementations§
impl Freeze for CFError
impl RefUnwindSafe for CFError
impl Send for CFError
impl Sync for CFError
impl Unpin for CFError
impl UnwindSafe for CFError
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