Skip to main content

Lower

Trait Lower 

Source
pub trait Lower: Sized {
    type Target;
    type Outbound;
    type Domain;
    type Datagram;

    // Required methods
    fn socket(slot: Self::Outbound, domain: Self::Domain) -> Self;
    fn accept_multi(listener: Self::Target) -> Self;
    fn recv<const GROUP: u16>(slot: Self::Target) -> Self;
    fn recv_msg<const GROUP: u16>(datagram: Self::Datagram) -> Self;
    fn shutdown(slot: Self::Target) -> Self;
}
Expand description

Native requests whose input borrows are consumed during lowering.

Required Associated Types§

Required Methods§

Source

fn socket(slot: Self::Outbound, domain: Self::Domain) -> Self

Source

fn accept_multi(listener: Self::Target) -> Self

Source

fn recv<const GROUP: u16>(slot: Self::Target) -> Self

Source

fn recv_msg<const GROUP: u16>(datagram: Self::Datagram) -> Self

Source

fn shutdown(slot: Self::Target) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§