pub enum DeregisterOnPremisesInstanceError {
InstanceNameRequired(String),
InvalidInstanceName(String),
}Expand description
Errors returned by DeregisterOnPremisesInstance
Variants§
InstanceNameRequired(String)
An on-premises instance name was not specified.
InvalidInstanceName(String)
The on-premises instance name was specified in an invalid format.
Implementations§
Trait Implementations§
Source§impl Error for DeregisterOnPremisesInstanceError
impl Error for DeregisterOnPremisesInstanceError
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 DeregisterOnPremisesInstanceError
impl PartialEq for DeregisterOnPremisesInstanceError
Source§fn eq(&self, other: &DeregisterOnPremisesInstanceError) -> bool
fn eq(&self, other: &DeregisterOnPremisesInstanceError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeregisterOnPremisesInstanceError
Auto Trait Implementations§
impl Freeze for DeregisterOnPremisesInstanceError
impl RefUnwindSafe for DeregisterOnPremisesInstanceError
impl Send for DeregisterOnPremisesInstanceError
impl Sync for DeregisterOnPremisesInstanceError
impl Unpin for DeregisterOnPremisesInstanceError
impl UnwindSafe for DeregisterOnPremisesInstanceError
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