pub enum UserAccessType {
Read,
Write,
}Available on crate feature
uspace only.Expand description
Direction of an architecture-level user-memory access check.
Variants§
Read
The kernel intends to read bytes supplied by user space.
Write
The kernel intends to write bytes into user space.
Trait Implementations§
Source§impl Clone for UserAccessType
impl Clone for UserAccessType
Source§fn clone(&self) -> UserAccessType
fn clone(&self) -> UserAccessType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UserAccessType
Source§impl Debug for UserAccessType
impl Debug for UserAccessType
impl Eq for UserAccessType
Source§impl PartialEq for UserAccessType
impl PartialEq for UserAccessType
impl StructuralPartialEq for UserAccessType
Auto Trait Implementations§
impl Freeze for UserAccessType
impl RefUnwindSafe for UserAccessType
impl Send for UserAccessType
impl Sync for UserAccessType
impl Unpin for UserAccessType
impl UnsafeUnpin for UserAccessType
impl UnwindSafe for UserAccessType
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