Skip to main content

Install

Trait Install 

Source
pub trait Install<O> {
    type Handle: AsFd;
    type Error;

    // Required method
    fn install(
        &mut self,
        slot: O,
        handle: Self::Handle,
    ) -> Result<(), Self::Error>;
}
Expand description

Installs an owned descriptor in its reserved native table slot.

Required Associated Types§

Required Methods§

Source

fn install(&mut self, slot: O, handle: Self::Handle) -> Result<(), Self::Error>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§