Struct kernel::process_checker::CheckResultAcceptMetadata
source · pub struct CheckResultAcceptMetadata {
pub metadata: usize,
}
Expand description
Optional metadata the credential checker can attach to an accepted credential.
This metadata can be used to provide context for why or how the accepted
credential was accepted. For example, this could be set to the index of a
public key that was used to verify a cryptographic signature. This value can
then be used by the AppId assigner to assign the correct AppId and
ShortId
.
Fields§
§metadata: usize
The metadata stored with the accepted credential is a usize that has an application-specific meaning.
Trait Implementations§
source§impl Clone for CheckResultAcceptMetadata
impl Clone for CheckResultAcceptMetadata
source§fn clone(&self) -> CheckResultAcceptMetadata
fn clone(&self) -> CheckResultAcceptMetadata
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 CheckResultAcceptMetadata
impl Debug for CheckResultAcceptMetadata
impl Copy for CheckResultAcceptMetadata
Auto Trait Implementations§
impl Freeze for CheckResultAcceptMetadata
impl RefUnwindSafe for CheckResultAcceptMetadata
impl Send for CheckResultAcceptMetadata
impl Sync for CheckResultAcceptMetadata
impl Unpin for CheckResultAcceptMetadata
impl UnwindSafe for CheckResultAcceptMetadata
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)