pub enum ControlPlaneError {
Offline,
Timeout,
Rejected(String),
Conflict(String),
InvalidResponse(String),
Transport(String),
LeaseUnavailable,
}Expand description
Provider-independent control-plane failure.
Variants§
Offline
No provider is available.
Timeout
A provider request exceeded its deadline.
Rejected(String)
The provider rejected the operation.
Conflict(String)
The operation conflicts with current provider state.
InvalidResponse(String)
The provider returned a malformed or incompatible response.
Transport(String)
Transport execution failed before a valid response was received.
Leadership could not be acquired or renewed.
Trait Implementations§
Source§impl Clone for ControlPlaneError
impl Clone for ControlPlaneError
Source§fn clone(&self) -> ControlPlaneError
fn clone(&self) -> ControlPlaneError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ControlPlaneError
impl Debug for ControlPlaneError
Source§impl Display for ControlPlaneError
impl Display for ControlPlaneError
impl Eq for ControlPlaneError
Source§impl Error for ControlPlaneError
impl Error for ControlPlaneError
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 ControlPlaneError
impl PartialEq for ControlPlaneError
impl StructuralPartialEq for ControlPlaneError
Auto Trait Implementations§
impl Freeze for ControlPlaneError
impl RefUnwindSafe for ControlPlaneError
impl Send for ControlPlaneError
impl Sync for ControlPlaneError
impl Unpin for ControlPlaneError
impl UnsafeUnpin for ControlPlaneError
impl UnwindSafe for ControlPlaneError
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