[][src]Enum hc_vault::RenewError

pub enum RenewError {
    AuthError(Error),
    NotEnabled,
    NotRenewable,
}

The possible errors returned by the Renew part of the Client

Variants

AuthError(Error)

Possible Errors returned by the Auth backend when you try to renew the current token/session

NotEnabled

This is returned if you try to run the Renew session part but without enabling the Renew Policy in the config

NotRenewable

Returned when the current session can actually not be renewed

Trait Implementations

impl Display for RenewError[src]

impl From<Error> for RenewError[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> ToString for T where
    T: Display + ?Sized
[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.