Struct kube_client::client::middleware::AuthLayer [−][src]
pub struct AuthLayer(_);This is supported on crate feature
client only.Expand description
Layer to set up Authorization header depending on the config.
Trait Implementations
type Service = Either<<AddAuthorizationLayer as Layer<S>>::Service, <AsyncFilterLayer<RefreshableToken> as Layer<S>>::Service>
type Service = Either<<AddAuthorizationLayer as Layer<S>>::Service, <AsyncFilterLayer<RefreshableToken> as Layer<S>>::Service>
The wrapped service
Auto Trait Implementations
impl !RefUnwindSafe for AuthLayer
impl !UnwindSafe for AuthLayer
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
