pub struct CredentialsLoadingErrors {
errors: Vec<CredentialsLoadingError>,
}
Expand description
A wrapper for a list of CredentialsLoadingError
s.
Fields§
§errors: Vec<CredentialsLoadingError>
Implementations§
Source§impl CredentialsLoadingErrors
impl CredentialsLoadingErrors
Sourcepub fn new(errors: Vec<CredentialsLoadingError>) -> Self
pub fn new(errors: Vec<CredentialsLoadingError>) -> Self
Creates a new CredentialsLoadingError
.
Sourcepub fn get_errors(&self) -> &[CredentialsLoadingError]
pub fn get_errors(&self) -> &[CredentialsLoadingError]
Returns a reference to the list of CredentialsLoadingError
s.
Trait Implementations§
Source§impl Debug for CredentialsLoadingErrors
impl Debug for CredentialsLoadingErrors
Auto Trait Implementations§
impl Freeze for CredentialsLoadingErrors
impl !RefUnwindSafe for CredentialsLoadingErrors
impl Send for CredentialsLoadingErrors
impl Sync for CredentialsLoadingErrors
impl Unpin for CredentialsLoadingErrors
impl !UnwindSafe for CredentialsLoadingErrors
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more