pub enum BranchProtection {
None,
BTI,
}
Expand description
Type of branch protection to apply to executable memory.
Variants§
Trait Implementations§
Source§impl Clone for BranchProtection
impl Clone for BranchProtection
Source§fn clone(&self) -> BranchProtection
fn clone(&self) -> BranchProtection
Returns a duplicate 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 BranchProtection
impl Debug for BranchProtection
Source§impl PartialEq for BranchProtection
impl PartialEq for BranchProtection
impl Copy for BranchProtection
impl StructuralPartialEq for BranchProtection
Auto Trait Implementations§
impl Freeze for BranchProtection
impl RefUnwindSafe for BranchProtection
impl Send for BranchProtection
impl Sync for BranchProtection
impl Unpin for BranchProtection
impl UnwindSafe for BranchProtection
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