Module kernel::utilities::copy_slice
source · Expand description
Helper functions for copying buffers.
This utility provides an implementation of the standard Rust
slice::copy_from_slice()
method that cannot panic. This method is
provided through the CopyOrErr
trait.
This functionality is currently provided for the following types:
u8
u16
u32
u64
usize
Traits§
- Interface for copying buffers that cannot panic.