pub struct InvalidBasicCredentialsSnafu;Expand description
SNAFU context selector for the CredsError::InvalidBasicCredentials variant
Implementations§
Source§impl InvalidBasicCredentialsSnafu
impl InvalidBasicCredentialsSnafu
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 InvalidBasicCredentialsSnafu
impl Clone for InvalidBasicCredentialsSnafu
Source§fn clone(&self) -> InvalidBasicCredentialsSnafu
fn clone(&self) -> InvalidBasicCredentialsSnafu
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 Debug for InvalidBasicCredentialsSnafu
impl Debug for InvalidBasicCredentialsSnafu
Source§impl IntoError<CredsError> for InvalidBasicCredentialsSnafu
impl IntoError<CredsError> for InvalidBasicCredentialsSnafu
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 InvalidBasicCredentialsSnafu
Auto Trait Implementations§
impl Freeze for InvalidBasicCredentialsSnafu
impl RefUnwindSafe for InvalidBasicCredentialsSnafu
impl Send for InvalidBasicCredentialsSnafu
impl Sync for InvalidBasicCredentialsSnafu
impl Unpin for InvalidBasicCredentialsSnafu
impl UnsafeUnpin for InvalidBasicCredentialsSnafu
impl UnwindSafe for InvalidBasicCredentialsSnafu
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