pub struct InvalidStaticTokenCredentialsSnafu;Expand description
SNAFU context selector for the CredsError::InvalidStaticTokenCredentials variant
Implementations§
Source§impl InvalidStaticTokenCredentialsSnafu
impl InvalidStaticTokenCredentialsSnafu
Sourcepub fn build(self) -> CredsError
pub fn build(self) -> CredsError
Consume the selector and return the associated error
Sourcepub fn fail<__T>(self) -> Result<__T, CredsError>
pub fn fail<__T>(self) -> Result<__T, CredsError>
Consume the selector and return a Result with the associated error
Trait Implementations§
Source§impl Clone for InvalidStaticTokenCredentialsSnafu
impl Clone for InvalidStaticTokenCredentialsSnafu
Source§fn clone(&self) -> InvalidStaticTokenCredentialsSnafu
fn clone(&self) -> InvalidStaticTokenCredentialsSnafu
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl IntoError<CredsError> for InvalidStaticTokenCredentialsSnafu
impl IntoError<CredsError> for InvalidStaticTokenCredentialsSnafu
Source§fn into_error(self, error: Self::Source) -> CredsError
fn into_error(self, error: Self::Source) -> CredsError
Combine the information to produce the error
impl Copy for InvalidStaticTokenCredentialsSnafu
Auto Trait Implementations§
impl Freeze for InvalidStaticTokenCredentialsSnafu
impl RefUnwindSafe for InvalidStaticTokenCredentialsSnafu
impl Send for InvalidStaticTokenCredentialsSnafu
impl Sync for InvalidStaticTokenCredentialsSnafu
impl Unpin for InvalidStaticTokenCredentialsSnafu
impl UnsafeUnpin for InvalidStaticTokenCredentialsSnafu
impl UnwindSafe for InvalidStaticTokenCredentialsSnafu
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