pub enum SupervisorError {
CallError(CallError),
AlreadyStarted,
AlreadyPresent,
StartError(ExitReason),
NotFound,
Running,
Restarting,
}Expand description
Errors for Supervisor calls.
Variants§
CallError(CallError)
A call to the Supervisor server has failed.
AlreadyStarted
The child already exists and is running.
AlreadyPresent
The child already exists.
StartError(ExitReason)
The child failed to start.
NotFound
The child was not found.
Running
The child is already running.
Restarting
The child is being restarted.
Trait Implementations§
Source§impl Debug for SupervisorError
impl Debug for SupervisorError
Source§impl<'de> Deserialize<'de> for SupervisorError
impl<'de> Deserialize<'de> for SupervisorError
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 From<CallError> for SupervisorError
impl From<CallError> for SupervisorError
Auto Trait Implementations§
impl Freeze for SupervisorError
impl RefUnwindSafe for SupervisorError
impl Send for SupervisorError
impl Sync for SupervisorError
impl Unpin for SupervisorError
impl UnwindSafe for SupervisorError
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