pub enum GetOnPremisesInstanceError {
InstanceNameRequired(String),
InstanceNotRegistered(String),
InvalidInstanceName(String),
}
Expand description
Errors returned by GetOnPremisesInstance
Variants§
InstanceNameRequired(String)
An on-premises instance name was not specified.
InstanceNotRegistered(String)
The specified on-premises instance is not registered.
InvalidInstanceName(String)
The on-premises instance name was specified in an invalid format.
Implementations§
Source§impl GetOnPremisesInstanceError
impl GetOnPremisesInstanceError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetOnPremisesInstanceError>
Trait Implementations§
Source§impl Debug for GetOnPremisesInstanceError
impl Debug for GetOnPremisesInstanceError
Source§impl Display for GetOnPremisesInstanceError
impl Display for GetOnPremisesInstanceError
Source§impl Error for GetOnPremisesInstanceError
impl Error for GetOnPremisesInstanceError
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()
impl StructuralPartialEq for GetOnPremisesInstanceError
Auto Trait Implementations§
impl Freeze for GetOnPremisesInstanceError
impl RefUnwindSafe for GetOnPremisesInstanceError
impl Send for GetOnPremisesInstanceError
impl Sync for GetOnPremisesInstanceError
impl Unpin for GetOnPremisesInstanceError
impl UnwindSafe for GetOnPremisesInstanceError
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