#[repr(u8)]pub enum PtrauthKey {
IA = 0,
IB = 1,
DA = 2,
DB = 3,
}
Expand description
The key used to sign a pointer for authentication.
The variant values correspond to the values used in the
ptrauth_key
enum in ptrauth.h
.
Variants§
Trait Implementations§
Source§impl Clone for PtrauthKey
impl Clone for PtrauthKey
Source§fn clone(&self) -> PtrauthKey
fn clone(&self) -> PtrauthKey
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PtrauthKey
impl Debug for PtrauthKey
Source§impl PartialEq for PtrauthKey
impl PartialEq for PtrauthKey
impl Copy for PtrauthKey
impl Eq for PtrauthKey
impl StructuralPartialEq for PtrauthKey
Auto Trait Implementations§
impl Freeze for PtrauthKey
impl RefUnwindSafe for PtrauthKey
impl Send for PtrauthKey
impl Sync for PtrauthKey
impl Unpin for PtrauthKey
impl UnwindSafe for PtrauthKey
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.