kernel::grant

Trait AllowRoSize

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

Tracks how many read-only allows a grant instance supports automatically.

Required Associated Constants§

Source

const COUNT: u8

The number of read-only allows 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> AllowRoSize for AllowRoCount<NUM>

Source§

const COUNT: u8 = NUM