MsSql

Struct MsSql 

pub struct MsSql;
Expand description

MSSQL database driver.

Trait Implementations§

§

impl Database for MsSql

§

const NAME: &'static str = "MsSql"

§

type Connection = MsSqlConnection

The concrete Connection implementation for this database.
§

type TransactionManager = MsSqlTransactionManager

The concrete TransactionManager implementation for this database.
§

type Query<'a> = MsSqlQuery<'a>

The concrete Query implementation for this database.
§

type Row = MsSqlRow

The concrete Row implementation for this database.
§

type Column = Column

The concrete Column implementation for this database.
§

type TypeInfo = ColumnType

The concrete TypeInfo implementation for this database.
§

impl Debug for MsSql

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl<'a> TryGetable<'a, MsSql> for &'a [u8]

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for &'a str

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Date

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for DateTime<FixedOffset>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for DateTime<Local>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for DateTime<Utc>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Decimal

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for NaiveDate

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for NaiveDateTime

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for NaiveTime

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Numeric

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for OffsetDateTime

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<&'a [u8]>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<&'a str>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<Date>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<DateTime<FixedOffset>>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<DateTime<Local>>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<DateTime<Utc>>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<Decimal>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<NaiveDate>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<NaiveDateTime>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<NaiveTime>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<Numeric>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<OffsetDateTime>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<PrimitiveDateTime>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<String>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<Time>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<Uuid>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<Value>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<Vec<u8>>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<bool>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<f32>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<f64>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<i16>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<i32>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<i64>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<i8>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<u16>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<u32>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Option<u8>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for PrimitiveDateTime

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for String

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Time

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Uuid

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Value

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for Vec<u8>

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for bool

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for f32

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for f64

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for i16

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for i32

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for i64

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for i8

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for u16

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for u32

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

§

impl<'a> TryGetable<'a, MsSql> for u8

§

fn try_get_from<I>( row: &'a <MsSql as Database>::Row, index: I, ) -> Result<Self, Error>
where I: ColumnIndex<<MsSql as Database>::Row>,

Auto Trait Implementations§

§

impl Freeze for MsSql

§

impl RefUnwindSafe for MsSql

§

impl Send for MsSql

§

impl Sync for MsSql

§

impl Unpin for MsSql

§

impl UnwindSafe for MsSql

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more