pub enum GeneralResourceErrorDetail {
WrongPrefix(&'static str),
IdLength(usize),
NonAsciiAlphanumeric,
}Expand description
Specific details about errors encountered when parsing AWS resource IDs in the general format
Variants§
WrongPrefix(&'static str)
Incorrect prefix for the resource type
IdLength(usize)
Invalid length of the unique identifier part
NonAsciiAlphanumeric
The unique identifier contains invalid characters
Trait Implementations§
Source§impl Debug for GeneralResourceErrorDetail
impl Debug for GeneralResourceErrorDetail
Source§impl Display for GeneralResourceErrorDetail
impl Display for GeneralResourceErrorDetail
Source§impl Error for GeneralResourceErrorDetail
impl Error for GeneralResourceErrorDetail
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()
Auto Trait Implementations§
impl Freeze for GeneralResourceErrorDetail
impl RefUnwindSafe for GeneralResourceErrorDetail
impl Send for GeneralResourceErrorDetail
impl Sync for GeneralResourceErrorDetail
impl Unpin for GeneralResourceErrorDetail
impl UnwindSafe for GeneralResourceErrorDetail
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