pub enum ArnParseError {
InvalidFormat(String),
MissingComponent(String),
InvalidComponent(String),
}Expand description
Error type for ARN parsing.
Variants§
InvalidFormat(String)
Invalid ARN format
MissingComponent(String)
Missing required component
InvalidComponent(String)
Invalid component value
Trait Implementations§
Source§impl Clone for ArnParseError
impl Clone for ArnParseError
Source§fn clone(&self) -> ArnParseError
fn clone(&self) -> ArnParseError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArnParseError
impl Debug for ArnParseError
Source§impl Display for ArnParseError
impl Display for ArnParseError
impl Eq for ArnParseError
Source§impl Error for ArnParseError
impl Error for ArnParseError
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 From<ArnParseError> for AmiError
impl From<ArnParseError> for AmiError
Source§fn from(err: ArnParseError) -> Self
fn from(err: ArnParseError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ArnParseError
impl PartialEq for ArnParseError
impl StructuralPartialEq for ArnParseError
Auto Trait Implementations§
impl Freeze for ArnParseError
impl RefUnwindSafe for ArnParseError
impl Send for ArnParseError
impl Sync for ArnParseError
impl Unpin for ArnParseError
impl UnsafeUnpin for ArnParseError
impl UnwindSafe for ArnParseError
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