pub trait Encode<'req, 'd: 'req>: Cancel + Accept<'d, Output = Self::Prepared, Error = (Self::Error, Self::Target)> {
type Error;
type Prepared;
type Pending<'id>: Lineage<'id, Output = Self::Prepared>;
type Head<'a, 'id>: Accept<'d, Output = Self::Pending<'id>, Error = (<Self as Encode<'req, 'd>>::Error, Self::Target)> + Cancel<Target = Self::Target>;
// Required method
fn begin_head<'a, 'id>(self, head: View<'a, 'id>) -> Self::Head<'a, 'id>;
}Required Associated Types§
type Error
type Prepared
type Pending<'id>: Lineage<'id, Output = Self::Prepared>
type Head<'a, 'id>: Accept<'d, Output = Self::Pending<'id>, Error = (<Self as Encode<'req, 'd>>::Error, Self::Target)> + Cancel<Target = Self::Target>
Required Methods§
fn begin_head<'a, 'id>(self, head: View<'a, 'id>) -> Self::Head<'a, 'id>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".