pub struct LocalAuthCredential<'a> { /* private fields */ }Expand description
Borrowed, separately configured local-auth credential.
This wrapper intentionally has no Debug, Display, or serialization surface.
ⓘ
use gaze_proxy::LocalAuthCredential;
fn requires_debug<T: std::fmt::Debug>() {}
requires_debug::<LocalAuthCredential<'static>>();Implementations§
Source§impl LocalAuthCredential<'_>
impl LocalAuthCredential<'_>
Sourcepub fn with_bytes<R>(&self, reveal: impl FnOnce(&[u8]) -> R) -> R
pub fn with_bytes<R>(&self, reveal: impl FnOnce(&[u8]) -> R) -> R
Reveals the credential only inside the trusted resolver callback.
Auto Trait Implementations§
impl<'a> Freeze for LocalAuthCredential<'a>
impl<'a> RefUnwindSafe for LocalAuthCredential<'a>
impl<'a> Send for LocalAuthCredential<'a>
impl<'a> Sync for LocalAuthCredential<'a>
impl<'a> Unpin for LocalAuthCredential<'a>
impl<'a> UnsafeUnpin for LocalAuthCredential<'a>
impl<'a> UnwindSafe for LocalAuthCredential<'a>
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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