pub struct Kernel {
pub priorities: u8,
pub memory_size: Byte,
}Expand description
Kernel related config
Fields§
§priorities: u8The number of different priorities. Keep the number low as it influences overhead when switching threads.
memory_size: ByteSize of kernel memory region.
Note: Must be sized accoring to memory protection restrictions.
Auto Trait Implementations§
impl Freeze for Kernel
impl RefUnwindSafe for Kernel
impl Send for Kernel
impl Sync for Kernel
impl Unpin for Kernel
impl UnwindSafe for Kernel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more