pub enum SourceErrorKind {
Io(Error),
Client(String),
ValidateError(String),
Other(String),
}
Expand description
Wrapper for handling source error states
Variants§
Io(Error)
Client(String)
Error kind when client connection encounters an error
ValidateError(String)
Error kind when source isn’t correctly configured
Other(String)
Error kind when we just need one
Auto Trait Implementations§
impl Freeze for SourceErrorKind
impl !RefUnwindSafe for SourceErrorKind
impl Send for SourceErrorKind
impl Sync for SourceErrorKind
impl Unpin for SourceErrorKind
impl !UnwindSafe for SourceErrorKind
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