Skip to main content

Interest

Trait Interest 

Source
pub trait Interest {
    type Id: Id;
    type Data: Copy;

    // Required methods
    fn id(&self) -> Self::Id;
    fn arm(self, flags: u16, data: Self::Data);
    fn delete(self);
    fn discard(self);
}

Required Associated Types§

Required Methods§

Source

fn id(&self) -> Self::Id

Source

fn arm(self, flags: u16, data: Self::Data)

Source

fn delete(self)

Source

fn discard(self)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§