[−][src]Enum tiberius::AuthMethod
Defines the method of authentication to the server.
Variants
Authenticate directly with SQL Server.
This is supported on Windows only.
Authenticate with Windows credentials.
This is supported on Windows, or Unix and crate feature
integrated-auth-gssapi
only.Authenticate as the currently logged in user. On Windows uses SSPI and Kerberos on Unix platforms.
Implementations
impl AuthMethod
[src]
pub fn sql_server(user: impl ToString, password: impl ToString) -> Self
[src]
Construct a new SQL Server authentication configuration.
pub fn windows(user: impl AsRef<str>, password: impl ToString) -> Self
[src]
This is supported on Windows only.
Construct a new Windows authentication configuration.
Trait Implementations
impl Clone for AuthMethod
[src]
pub fn clone(&self) -> AuthMethod
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AuthMethod
[src]
impl PartialEq<AuthMethod> for AuthMethod
[src]
pub fn eq(&self, other: &AuthMethod) -> bool
[src]
pub fn ne(&self, other: &AuthMethod) -> bool
[src]
impl StructuralPartialEq for AuthMethod
[src]
Auto Trait Implementations
impl RefUnwindSafe for AuthMethod
[src]
impl Send for AuthMethod
[src]
impl Sync for AuthMethod
[src]
impl Unpin for AuthMethod
[src]
impl UnwindSafe for AuthMethod
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,