pub enum RegistryError {
CallError(CallError),
StartError(ExitReason),
StartNotSupported,
AlreadyStarted(Pid),
NotFound,
}Expand description
Errors for Registry calls.
Variants§
CallError(CallError)
A call to the Registry server has failed.
StartError(ExitReason)
The process failed to start.
StartNotSupported
The registry wasn’t configured with a start routine.
AlreadyStarted(Pid)
The process is already registered and running.
NotFound
The process was not found for the given key.
Trait Implementations§
Source§impl Debug for RegistryError
impl Debug for RegistryError
Source§impl<'de> Deserialize<'de> for RegistryError
impl<'de> Deserialize<'de> for RegistryError
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 RegistryError
impl From<CallError> for RegistryError
Auto Trait Implementations§
impl Freeze for RegistryError
impl RefUnwindSafe for RegistryError
impl Send for RegistryError
impl Sync for RegistryError
impl Unpin for RegistryError
impl UnwindSafe for RegistryError
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