pub enum LoadError {
ClientNotConfigured,
ConfigMissing(String),
NotFound(String),
ParseError(String),
}Variants§
ClientNotConfigured
Required client (Env/KVS/DB/HTTP/File) is not configured.
ConfigMissing(String)
A required config key (key/url/table/map/connection) is missing.
NotFound(String)
The client call succeeded but returned no data.
ParseError(String)
JSON parse error from client response.
Trait Implementations§
impl StructuralPartialEq for LoadError
Auto Trait Implementations§
impl Freeze for LoadError
impl RefUnwindSafe for LoadError
impl Send for LoadError
impl Sync for LoadError
impl Unpin for LoadError
impl UnsafeUnpin for LoadError
impl UnwindSafe for LoadError
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