pub enum RoutineError {
Validation(String),
Duplicate(String),
NotFound(String),
Conflict {
expected: u64,
actual: u64,
},
ProjectCollision {
expected: PathBuf,
stored: PathBuf,
},
AlreadyRunning(String),
ProtocolMismatch {
client: u32,
daemon: u32,
},
Unavailable(String),
Io(String),
Corrupt(String),
RemoteDaemon {
kind: RoutineErrorKind,
message: String,
},
}Variants§
Validation(String)
Duplicate(String)
NotFound(String)
Conflict
ProjectCollision
AlreadyRunning(String)
ProtocolMismatch
Io(String)
Corrupt(String)
RemoteDaemon
Implementations§
Source§impl RoutineError
impl RoutineError
pub fn kind(&self) -> RoutineErrorKind
Trait Implementations§
Source§impl Debug for RoutineError
impl Debug for RoutineError
Source§impl Display for RoutineError
impl Display for RoutineError
Source§impl Error for RoutineError
impl Error for RoutineError
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()
Auto Trait Implementations§
impl Freeze for RoutineError
impl RefUnwindSafe for RoutineError
impl Send for RoutineError
impl Sync for RoutineError
impl Unpin for RoutineError
impl UnsafeUnpin for RoutineError
impl UnwindSafe for RoutineError
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