pub struct NoAuth { /* private fields */ }
Expand description
Authentication method that provides no authentication.
This method always returns a constant fake token, and a pre-defined endpoint.
Implementations
Trait Implementations
sourceimpl AuthMethod for NoAuth
impl AuthMethod for NoAuth
sourcefn get_endpoint(
&self,
_service_type: String,
_endpoint_interface: Option<String>
) -> Result<Url>
fn get_endpoint(
&self,
_service_type: String,
_endpoint_interface: Option<String>
) -> Result<Url>
Get a predefined endpoint for all service types
sourcefn default_endpoint_interface(&self) -> String
fn default_endpoint_interface(&self) -> String
Default endpoint interface that is used when none is provided.
Auto Trait Implementations
impl !RefUnwindSafe for NoAuth
impl Send for NoAuth
impl Sync for NoAuth
impl Unpin for NoAuth
impl !UnwindSafe for NoAuth
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more