pub enum ListLocationsError {
Internal(String),
InvalidRequest(String),
}
Expand description
Errors returned by ListLocations
Variants§
Internal(String)
This exception is thrown when an error occurs in the AWS DataSync service.
InvalidRequest(String)
This exception is thrown when the client submits a malformed request.
Implementations§
Source§impl ListLocationsError
impl ListLocationsError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<ListLocationsError>
Trait Implementations§
Source§impl Debug for ListLocationsError
impl Debug for ListLocationsError
Source§impl Display for ListLocationsError
impl Display for ListLocationsError
Source§impl Error for ListLocationsError
impl Error for ListLocationsError
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 ListLocationsError
impl PartialEq for ListLocationsError
impl StructuralPartialEq for ListLocationsError
Auto Trait Implementations§
impl Freeze for ListLocationsError
impl RefUnwindSafe for ListLocationsError
impl Send for ListLocationsError
impl Sync for ListLocationsError
impl Unpin for ListLocationsError
impl UnwindSafe for ListLocationsError
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