[−][src]Enum tiberius::AuthMethod
Defines the method of authentication to the server.
Variants
Authenticate directly with SQL Server. The only authentication method that works on all platforms.
Authenticate with Windows credentials. Only available on Windows platforms.
Authenticate as the currently logged in user. Only available on Windows 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]
Construct a new Windows authentication configuration. Only available on Windows platforms.
Trait Implementations
impl Clone for AuthMethod
[src]
fn clone(&self) -> AuthMethod
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AuthMethod
[src]
impl PartialEq<AuthMethod> for AuthMethod
[src]
fn eq(&self, other: &AuthMethod) -> bool
[src]
fn ne(&self, other: &AuthMethod) -> bool
[src]
impl StructuralPartialEq for AuthMethod
[src]
Auto Trait Implementations
impl RefUnwindSafe for AuthMethod
impl Send for AuthMethod
impl Sync for AuthMethod
impl Unpin for AuthMethod
impl UnwindSafe for AuthMethod
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[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.
fn to_owned(&self) -> T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,