Trait sqlx_core::io::ProtocolDecode
source · pub trait ProtocolDecode<'de, Context = ()>where
Self: Sized,{
// Required method
fn decode_with(buf: Bytes, context: Context) -> Result<Self, Error>;
// Provided method
fn decode(buf: Bytes) -> Result<Self, Error>
where Self: ProtocolDecode<'de, ()> { ... }
}
Required Methods§
fn decode_with(buf: Bytes, context: Context) -> Result<Self, Error>
Provided Methods§
Object Safety§
This trait is not object safe.