Xugu

Struct Xugu 

Source
pub struct Xugu;
Expand description

Xugu database driver.

Trait Implementations§

Source§

impl Database for Xugu

Source§

const NAME: &'static str = "Xugu"

The display name for this database driver.
Source§

const URL_SCHEMES: &'static [&'static str]

The schemes for database URLs that should match this driver.
Source§

type Connection = XuguConnection

The concrete Connection implementation for this database.
Source§

type TransactionManager = XuguTransactionManager

The concrete TransactionManager implementation for this database.
Source§

type Row = XuguRow

The concrete Row implementation for this database.
Source§

type QueryResult = XuguQueryResult

The concrete QueryResult implementation for this database.
Source§

type Column = XuguColumn

The concrete Column implementation for this database.
Source§

type TypeInfo = XuguTypeInfo

The concrete TypeInfo implementation for this database.
Source§

type Value = XuguValue

The concrete type used to hold an owned copy of the not-yet-decoded value that was received from the database.
Source§

type ValueRef<'r> = XuguValueRef<'r>

The concrete type used to hold a reference to the not-yet-decoded value that has just been received from the database.
Source§

type Arguments<'q> = XuguArguments<'q>

The concrete Arguments implementation for this database.
Source§

type ArgumentBuffer<'q> = Vec<XuguArgumentValue<'q>>

The concrete type used as a buffer for arguments while encoding.
Source§

type Statement<'q> = XuguStatement<'q>

The concrete Statement implementation for this database.
Source§

impl Debug for Xugu

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Decode<'_, Xugu> for String

Source§

fn decode(value: XuguValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Xugu> for Vec<u8>

Source§

fn decode(value: XuguValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Xugu> for bool

Source§

fn decode(value: XuguValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Xugu> for f32

Source§

fn decode(value: XuguValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Xugu> for f64

Source§

fn decode(value: XuguValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Xugu> for i16

Source§

fn decode(value: XuguValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Xugu> for i32

Source§

fn decode(value: XuguValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Xugu> for i64

Source§

fn decode(value: XuguValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Xugu> for i8

Source§

fn decode(value: XuguValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Xugu> for u16

Source§

fn decode(value: XuguValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Xugu> for u32

Source§

fn decode(value: XuguValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Xugu> for u64

Source§

fn decode(value: XuguValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Xugu> for u8

Source§

fn decode(value: XuguValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'q> Decode<'q, Xugu> for &'q [u8]

Source§

fn decode(value: XuguValueRef<'q>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'q> Decode<'q, Xugu> for &'q str

Source§

fn decode(value: XuguValueRef<'q>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r> Decode<'r, Xugu> for Box<[u8]>

Source§

fn decode(value: XuguValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r> Decode<'r, Xugu> for Box<str>

Source§

fn decode(value: XuguValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r> Decode<'r, Xugu> for Cow<'r, str>

Source§

fn decode(value: XuguValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r> Decode<'r, Xugu> for Duration

std::time::Duration 表示的持续时间为非负数,解码时取绝对值

Source§

fn decode(value: XuguValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r, T> Decode<'r, Xugu> for Text<T>
where T: FromStr, BoxDynError: From<<T as FromStr>::Err>,

Source§

fn decode(value: XuguValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r> Decode<'r, Xugu> for XgBox

Source§

fn decode(value: XuguValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r> Decode<'r, Xugu> for XgCircle

Source§

fn decode(value: XuguValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r> Decode<'r, Xugu> for XgLSeg

Source§

fn decode(value: XuguValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r> Decode<'r, Xugu> for XgLine

Source§

fn decode(value: XuguValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r> Decode<'r, Xugu> for XgPath

Source§

fn decode(value: XuguValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r> Decode<'r, Xugu> for XgPoint

Source§

fn decode(value: XuguValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r> Decode<'r, Xugu> for XgPolygon

Source§

fn decode(value: XuguValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Encode<'_, Xugu> for Box<[u8]>

Source§

fn encode( self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for Box<str>

Source§

fn encode( self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for Duration

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for String

Source§

fn encode( self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for Vec<u8>

Source§

fn encode( self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for XgBox

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<XuguTypeInfo>

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for XgCircle

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<XuguTypeInfo>

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for XgLSeg

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<XuguTypeInfo>

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for XgLine

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<XuguTypeInfo>

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for XgPath

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<XuguTypeInfo>

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for XgPoint

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<XuguTypeInfo>

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for XgPolygon

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<XuguTypeInfo>

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for bool

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for f32

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for f64

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for i16

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for i32

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for i64

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for i8

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for u16

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for u32

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for u64

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Xugu> for u8

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'_>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<'q> Encode<'q, Xugu> for &'q [u8]

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'q>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<'q> Encode<'q, Xugu> for &'q str

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'q>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<'q> Encode<'q, Xugu> for Cow<'q, str>

Source§

fn encode( self, args: &mut Vec<XuguArgumentValue<'q>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'q>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl<'q, T> Encode<'q, Xugu> for Option<T>
where T: Encode<'q, Xugu> + Type<Xugu> + 'q,

Source§

fn produces(&self) -> Option<<Xugu as Database>::TypeInfo>

Source§

fn encode( self, buf: &mut <Xugu as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf in the expected format for the database.
Source§

fn encode_by_ref( &self, buf: &mut <Xugu as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn size_hint(&self) -> usize

Source§

impl<'q, T> Encode<'q, Xugu> for Text<T>
where T: Display,

Source§

fn encode_by_ref( &self, args: &mut Vec<XuguArgumentValue<'q>>, ) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl Type<Xugu> for [u8]

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for Box<[u8]>

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for Box<str>

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for Cow<'_, str>

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for Duration

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for String

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T> Type<Xugu> for Text<T>

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for Vec<u8>

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for XgBox

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for XgCircle

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for XgLSeg

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for XgLine

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for XgPath

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for XgPoint

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for XgPolygon

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for bool

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for f32

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for f64

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for i16

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for i32

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for i64

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for i8

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for str

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for u16

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for u32

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for u64

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Xugu> for u8

Source§

fn type_info() -> XuguTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &XuguTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl HasStatementCache for Xugu

Auto Trait Implementations§

§

impl Freeze for Xugu

§

impl RefUnwindSafe for Xugu

§

impl Send for Xugu

§

impl Sync for Xugu

§

impl Unpin for Xugu

§

impl UnwindSafe for Xugu

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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
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
Source§

impl<T> ErasedDestructor for T
where T: 'static,