[][src]Enum aws_arn::ArnError

pub enum ArnError {
    TooFewComponents,
    MissingPrefix,
    MissingPartition,
    InvalidPartition,
    MissingService,
    InvalidService,
    MissingRegion,
    InvalidRegion,
    MissingAccountId,
    InvalidAccountId,
    MissingResource,
    InvalidResource,
}

Errors that may arise parsing an ARN with FromStr::from_str().

Variants

TooFewComponents

Need at least 6 components.

MissingPrefix

Missing the 'arn' prefix string.

MissingPartition

Missing the partition component.

InvalidPartition

The partition component provided is not valid.

MissingService

Missing the service component.

InvalidService

The service component provided is not valid.

MissingRegion

Missing the region component.

InvalidRegion

The partition region provided is not valid.

MissingAccountId

Missing the account id component.

InvalidAccountId

The partition account id provided is not valid.

MissingResource

Missing the resource component.

InvalidResource

The partition resource provided is not valid.

Trait Implementations

impl PartialEq<ArnError> for ArnError[src]

impl Debug for ArnError[src]

impl StructuralPartialEq for ArnError[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]