kernel::grant

Trait UpcallSize

Source
pub trait UpcallSize {
    const COUNT: u8;
}
Expand description

Tracks how many upcalls a grant instance supports automatically.

Required Associated Constants§

Source

const COUNT: u8

The number of upcalls the grant supports.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<const NUM: u8> UpcallSize for UpcallCount<NUM>

Source§

const COUNT: u8 = NUM