pub trait Source<C: Context> {
type Raw: Lower<Domain = Domain>;
const GROUP: u16;
// Required methods
fn target(slot: C::Target) -> <Self::Raw as Lower>::Target;
fn outbound(slot: C::Outbound) -> <Self::Raw as Lower>::Outbound;
fn datagram<'d>(fd: &C::Datagram<'d>) -> <Self::Raw as Lower>::Datagram;
}Expand description
Selects native requests and converts their proven input representations.
Required Associated Constants§
Required Associated Types§
Required Methods§
fn target(slot: C::Target) -> <Self::Raw as Lower>::Target
fn outbound(slot: C::Outbound) -> <Self::Raw as Lower>::Outbound
fn datagram<'d>(fd: &C::Datagram<'d>) -> <Self::Raw as Lower>::Datagram
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".