pub struct Mssql;Expand description
SQL Server database driver marker.
Trait Implementations§
Source§impl Database for Mssql
impl Database for Mssql
Source§const URL_SCHEMES: &'static [&'static str]
const URL_SCHEMES: &'static [&'static str]
The schemes for database URLs that should match this driver.
Source§type Connection = MssqlConnection
type Connection = MssqlConnection
The concrete
Connection implementation for this database.Source§type TransactionManager = MssqlTransactionManager
type TransactionManager = MssqlTransactionManager
The concrete
TransactionManager implementation for this database.Source§type QueryResult = MssqlQueryResult
type QueryResult = MssqlQueryResult
The concrete
QueryResult implementation for this database.Source§type Column = MssqlColumn
type Column = MssqlColumn
The concrete
Column implementation for this database.Source§type TypeInfo = MssqlTypeInfo
type TypeInfo = MssqlTypeInfo
The concrete
TypeInfo implementation for this database.Source§type Value = MssqlValue
type Value = MssqlValue
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> = MssqlValueRef<'r>
type ValueRef<'r> = MssqlValueRef<'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 = MssqlArguments
type Arguments = MssqlArguments
The concrete
Arguments implementation for this database.Source§type ArgumentBuffer = Vec<u8>
type ArgumentBuffer = Vec<u8>
The concrete type used as a buffer for arguments while encoding.
Source§type Statement = MssqlStatement
type Statement = MssqlStatement
The concrete
Statement implementation for this database.Source§impl Decode<'_, Mssql> for String
impl Decode<'_, Mssql> for String
Source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl Decode<'_, Mssql> for Vec<u8>
impl Decode<'_, Mssql> for Vec<u8>
Source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl Decode<'_, Mssql> for bool
impl Decode<'_, Mssql> for bool
Source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl Decode<'_, Mssql> for f32
impl Decode<'_, Mssql> for f32
Source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl Decode<'_, Mssql> for f64
impl Decode<'_, Mssql> for f64
Source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl Decode<'_, Mssql> for i16
impl Decode<'_, Mssql> for i16
Source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl Decode<'_, Mssql> for i32
impl Decode<'_, Mssql> for i32
Source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl Decode<'_, Mssql> for i64
impl Decode<'_, Mssql> for i64
Source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl Decode<'_, Mssql> for i8
impl Decode<'_, Mssql> for i8
Source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl Decode<'_, Mssql> for u16
impl Decode<'_, Mssql> for u16
Source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl Decode<'_, Mssql> for u32
impl Decode<'_, Mssql> for u32
Source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl Decode<'_, Mssql> for u8
impl Decode<'_, Mssql> for u8
Source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Mssql> for &'r [u8]
impl<'r> Decode<'r, Mssql> for &'r [u8]
Source§fn decode(value: MssqlValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: MssqlValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl Encode<'_, Mssql> for String
impl Encode<'_, Mssql> for String
Source§fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
Writes the value of
self into buf in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Source§impl Encode<'_, Mssql> for Vec<u8>
impl Encode<'_, Mssql> for Vec<u8>
Source§fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
Writes the value of
self into buf in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Source§impl Encode<'_, Mssql> for bool
impl Encode<'_, Mssql> for bool
Source§fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
Writes the value of
self into buf in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Source§impl Encode<'_, Mssql> for f32
impl Encode<'_, Mssql> for f32
Source§fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
Writes the value of
self into buf in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Source§impl Encode<'_, Mssql> for f64
impl Encode<'_, Mssql> for f64
Source§fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
Writes the value of
self into buf in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Source§impl Encode<'_, Mssql> for i16
impl Encode<'_, Mssql> for i16
Source§fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
Writes the value of
self into buf in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Source§impl Encode<'_, Mssql> for i32
impl Encode<'_, Mssql> for i32
Source§fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
Writes the value of
self into buf in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Source§impl Encode<'_, Mssql> for i64
impl Encode<'_, Mssql> for i64
Source§fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
Writes the value of
self into buf in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Source§impl Encode<'_, Mssql> for i8
impl Encode<'_, Mssql> for i8
Source§fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
Writes the value of
self into buf in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Source§impl Encode<'_, Mssql> for u16
impl Encode<'_, Mssql> for u16
Source§fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
Writes the value of
self into buf in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Source§impl Encode<'_, Mssql> for u32
impl Encode<'_, Mssql> for u32
Source§fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
Writes the value of
self into buf in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Source§impl Encode<'_, Mssql> for u8
impl Encode<'_, Mssql> for u8
Source§fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
Writes the value of
self into buf in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Source§impl<'q> Encode<'q, Mssql> for &'q [u8]
impl<'q> Encode<'q, Mssql> for &'q [u8]
Source§fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
Writes the value of
self into buf in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Source§impl<'q> Encode<'q, Mssql> for &'q str
impl<'q> Encode<'q, Mssql> for &'q str
Source§fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
fn encode_by_ref(&self, buf: &mut Vec<u8>) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
Writes the value of
self into buf in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Source§impl<'q, T> Encode<'q, Mssql> for Option<T>
impl<'q, T> Encode<'q, Mssql> for Option<T>
fn produces(&self) -> Option<<Mssql as Database>::TypeInfo>
Source§fn encode(
self,
buf: &mut <Mssql as Database>::ArgumentBuffer,
) -> Result<IsNull, BoxDynError>
fn encode( self, buf: &mut <Mssql as Database>::ArgumentBuffer, ) -> 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 <Mssql as Database>::ArgumentBuffer,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut <Mssql as Database>::ArgumentBuffer, ) -> Result<IsNull, BoxDynError>
fn size_hint(&self) -> usize
Source§impl Type<Mssql> for [u8]
impl Type<Mssql> for [u8]
Source§fn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Mssql> for String
impl Type<Mssql> for String
Source§fn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Mssql> for Vec<u8>
impl Type<Mssql> for Vec<u8>
Source§fn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Mssql> for bool
impl Type<Mssql> for bool
Source§fn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Mssql> for f32
impl Type<Mssql> for f32
Source§fn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Mssql> for f64
impl Type<Mssql> for f64
Source§fn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Mssql> for i16
impl Type<Mssql> for i16
Source§fn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Mssql> for i32
impl Type<Mssql> for i32
Source§fn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Mssql> for i64
impl Type<Mssql> for i64
Source§fn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Mssql> for i8
impl Type<Mssql> for i8
Source§fn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Mssql> for str
impl Type<Mssql> for str
Source§fn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Mssql> for u16
impl Type<Mssql> for u16
Source§fn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Auto Trait Implementations§
impl Freeze for Mssql
impl RefUnwindSafe for Mssql
impl Send for Mssql
impl Sync for Mssql
impl Unpin for Mssql
impl UnsafeUnpin for Mssql
impl UnwindSafe for Mssql
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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