pub enum HostError {
MissingCapability(&'static str),
Setup(Rejection),
Phase(PhaseError),
Host(String),
}Variants§
Trait Implementations§
Source§impl From<DomainError> for HostError
impl From<DomainError> for HostError
Source§fn from(error: DomainError) -> Self
fn from(error: DomainError) -> Self
Converts to this type from the input type.
Source§impl From<PhaseError> for HostError
impl From<PhaseError> for HostError
Source§fn from(error: PhaseError) -> Self
fn from(error: PhaseError) -> Self
Converts to this type from the input type.
Source§impl From<RestoreError> for HostError
impl From<RestoreError> for HostError
Source§fn from(error: RestoreError) -> Self
fn from(error: RestoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HostError
impl RefUnwindSafe for HostError
impl Send for HostError
impl Sync for HostError
impl Unpin for HostError
impl UnsafeUnpin for HostError
impl UnwindSafe for HostError
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