Struct capsules_extra::eui64::Eui64
source · pub struct Eui64 { /* private fields */ }
Implementations§
Trait Implementations§
source§impl SyscallDriver for Eui64
impl SyscallDriver for Eui64
source§fn command(
&self,
command_num: usize,
_: usize,
_: usize,
_: ProcessId,
) -> CommandReturn
fn command( &self, command_num: usize, _: usize, _: usize, _: ProcessId, ) -> CommandReturn
Control the Eui64.
§command_num
0
: Driver existence check.1
: Obtain EUI64 - providing the value within a u64 returncode.
source§fn allocate_grant(&self, _: ProcessId) -> Result<(), Error>
fn allocate_grant(&self, _: ProcessId) -> Result<(), Error>
Request to allocate a capsule’s grant for a specific process. Read more
source§fn allow_userspace_readable(
&self,
app: ProcessId,
which: usize,
slice: ReadWriteProcessBuffer,
) -> Result<ReadWriteProcessBuffer, (ReadWriteProcessBuffer, ErrorCode)>
fn allow_userspace_readable( &self, app: ProcessId, which: usize, slice: ReadWriteProcessBuffer, ) -> Result<ReadWriteProcessBuffer, (ReadWriteProcessBuffer, ErrorCode)>
System call for a process to pass a buffer (a
UserspaceReadableProcessBuffer
) to the kernel that the kernel can
either read or write. The kernel calls this method only after it checks
that the entire buffer is within memory the process can both read and
write. Read moreAuto Trait Implementations§
impl Freeze for Eui64
impl RefUnwindSafe for Eui64
impl Send for Eui64
impl Sync for Eui64
impl Unpin for Eui64
impl UnwindSafe for Eui64
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