pub struct ArnSet { /* private fields */ }
Expand description
ARN set operations for working with collections of ARNs
Implementations§
Source§impl ArnSet
impl ArnSet
Sourcepub fn filter_by_patterns(
&self,
patterns: &[String],
) -> Result<Vec<&str>, ArnError>
pub fn filter_by_patterns( &self, patterns: &[String], ) -> Result<Vec<&str>, ArnError>
Get ARNs that match any of the given patterns
§Errors
Returns ArnError
if any ARN in the set is invalid.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArnSet
impl RefUnwindSafe for ArnSet
impl Send for ArnSet
impl Sync for ArnSet
impl Unpin for ArnSet
impl UnwindSafe for ArnSet
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