pub struct NoAuthentication;Available on crate feature
api only.Expand description
No authentication is performed.
Trait Implementations§
Source§impl AuthScheme for NoAuthentication
impl AuthScheme for NoAuthentication
Source§fn extract_authentication<T>(
_request: &Request<T>,
) -> Result<(), Self::ExtractAuthenticationError>
fn extract_authentication<T>( _request: &Request<T>, ) -> Result<(), Self::ExtractAuthenticationError>
Since this endpoint doesn’t expect any authentication, this is a noop.
Source§type AddAuthenticationError = !
type AddAuthenticationError = !
The error type returned from
add_authentication().Source§type ExtractAuthenticationError = !
type ExtractAuthenticationError = !
The error type returned from
extract_authentication().Source§impl Clone for NoAuthentication
impl Clone for NoAuthentication
impl Copy for NoAuthentication
Source§impl Debug for NoAuthentication
impl Debug for NoAuthentication
Auto Trait Implementations§
impl Freeze for NoAuthentication
impl RefUnwindSafe for NoAuthentication
impl Send for NoAuthentication
impl Sync for NoAuthentication
impl Unpin for NoAuthentication
impl UnsafeUnpin for NoAuthentication
impl UnwindSafe for NoAuthentication
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