Struct xous::arch::hosted::ProcessKey
source · pub struct ProcessKey(/* private fields */);
Expand description
A 16-byte random nonce that identifies this process to the kernel. This
is usually provided through the environment variable XOUS_PROCESS_KEY
.
Implementations§
source§impl ProcessKey
impl ProcessKey
pub fn new(key: [u8; 16]) -> ProcessKey
Trait Implementations§
source§impl Clone for ProcessKey
impl Clone for ProcessKey
source§fn clone(&self) -> ProcessKey
fn clone(&self) -> ProcessKey
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProcessKey
impl Debug for ProcessKey
source§impl Display for ProcessKey
impl Display for ProcessKey
source§impl From<&str> for ProcessKey
impl From<&str> for ProcessKey
source§fn from(v: &str) -> ProcessKey
fn from(v: &str) -> ProcessKey
Converts to this type from the input type.
source§impl PartialEq for ProcessKey
impl PartialEq for ProcessKey
source§fn eq(&self, other: &ProcessKey) -> bool
fn eq(&self, other: &ProcessKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProcessKey
impl StructuralPartialEq for ProcessKey
Auto Trait Implementations§
impl Freeze for ProcessKey
impl RefUnwindSafe for ProcessKey
impl Send for ProcessKey
impl Sync for ProcessKey
impl Unpin for ProcessKey
impl UnwindSafe for ProcessKey
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