pub enum ProvisionError {
Incompatible {
client: String,
worker: String,
},
UnknownKind(String),
Broken(String),
}Expand description
Why a worker will not let itself be provisioned.
Variants§
Incompatible
The client and the worker cannot understand each other.
Fields
UnknownKind(String)
A kind of artifact this worker cannot interpret.
Broken(String)
It knew how to interpret it and could not.
Trait Implementations§
Source§impl Clone for ProvisionError
impl Clone for ProvisionError
Source§fn clone(&self) -> ProvisionError
fn clone(&self) -> ProvisionError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProvisionError
impl Debug for ProvisionError
Source§impl Display for ProvisionError
impl Display for ProvisionError
Source§impl Error for ProvisionError
impl Error for ProvisionError
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()
Source§impl PartialEq for ProvisionError
impl PartialEq for ProvisionError
impl Eq for ProvisionError
impl StructuralPartialEq for ProvisionError
Auto Trait Implementations§
impl Freeze for ProvisionError
impl RefUnwindSafe for ProvisionError
impl Send for ProvisionError
impl Sync for ProvisionError
impl Unpin for ProvisionError
impl UnsafeUnpin for ProvisionError
impl UnwindSafe for ProvisionError
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