pub enum SendSSHPublicKeyError {
Auth(String),
EC2InstanceNotFound(String),
InvalidArgs(String),
Service(String),
Throttling(String),
}
Expand description
Errors returned by SendSSHPublicKey
Variants
Auth(String)
Either your AWS credentials are not valid or you do not have access to the EC2 instance.
EC2InstanceNotFound(String)
The specified instance was not found.
InvalidArgs(String)
One of the parameters is not valid.
Service(String)
The service encountered an error. Follow the instructions in the error message and try again.
Throttling(String)
The requests were made too frequently and have been throttled. Wait a while and try again. To increase the limit on your request frequency, contact AWS Support.
Implementations
sourceimpl SendSSHPublicKeyError
impl SendSSHPublicKeyError
pub fn from_response(
res: BufferedHttpResponse
) -> RusotoError<SendSSHPublicKeyError>
Trait Implementations
sourceimpl Debug for SendSSHPublicKeyError
impl Debug for SendSSHPublicKeyError
sourceimpl Display for SendSSHPublicKeyError
impl Display for SendSSHPublicKeyError
sourceimpl Error for SendSSHPublicKeyError
impl Error for SendSSHPublicKeyError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl PartialEq<SendSSHPublicKeyError> for SendSSHPublicKeyError
impl PartialEq<SendSSHPublicKeyError> for SendSSHPublicKeyError
sourcefn eq(&self, other: &SendSSHPublicKeyError) -> bool
fn eq(&self, other: &SendSSHPublicKeyError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SendSSHPublicKeyError) -> bool
fn ne(&self, other: &SendSSHPublicKeyError) -> bool
This method tests for !=
.
impl StructuralPartialEq for SendSSHPublicKeyError
Auto Trait Implementations
impl RefUnwindSafe for SendSSHPublicKeyError
impl Send for SendSSHPublicKeyError
impl Sync for SendSSHPublicKeyError
impl Unpin for SendSSHPublicKeyError
impl UnwindSafe for SendSSHPublicKeyError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more