#[non_exhaustive]pub struct NoAuthConfigured;Expand description
Neither a static token nor OAuth is configured, and unauthenticated access was not explicitly allowed. The application should refuse to start, telling the operator in its own terms how to configure one of the two (or how to opt out explicitly).
Trait Implementations§
Source§impl Clone for NoAuthConfigured
impl Clone for NoAuthConfigured
Source§impl Debug for NoAuthConfigured
impl Debug for NoAuthConfigured
Source§impl Display for NoAuthConfigured
impl Display for NoAuthConfigured
impl Eq for NoAuthConfigured
Source§impl Error for NoAuthConfigured
impl Error for NoAuthConfigured
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for NoAuthConfigured
impl PartialEq for NoAuthConfigured
impl StructuralPartialEq for NoAuthConfigured
Auto Trait Implementations§
impl Freeze for NoAuthConfigured
impl RefUnwindSafe for NoAuthConfigured
impl Send for NoAuthConfigured
impl Sync for NoAuthConfigured
impl Unpin for NoAuthConfigured
impl UnsafeUnpin for NoAuthConfigured
impl UnwindSafe for NoAuthConfigured
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