#[repr(C)]pub struct SemanticTrainingCanaryRefusalRecord {Show 13 fields
pub abi: u64,
pub reason: u64,
pub kind: u64,
pub row_ordinal: u64,
pub measurement_bits: u64,
pub lower_bound_bits: u64,
pub upper_bound_bits: u64,
pub memory_used: u64,
pub memory_limit: u64,
pub work_used: u64,
pub work_limit: u64,
pub identity: [u64; 4],
pub selection_identity: [u64; 4],
}Expand description
Device-authored evidence for the highest-precedence failed update canary.
A successful canary join has ABI one and every other word zero. A refusal retains the exact measured value, frozen comparison bounds, resource use and limits, and both the canary and selected-view identities.
Fields§
§abi: u64§reason: u64§kind: u64§row_ordinal: u64§measurement_bits: u64§lower_bound_bits: u64§upper_bound_bits: u64§memory_used: u64§memory_limit: u64§work_used: u64§work_limit: u64§identity: [u64; 4]§selection_identity: [u64; 4]Implementations§
Source§impl SemanticTrainingCanaryRefusalRecord
impl SemanticTrainingCanaryRefusalRecord
pub fn reason(&self) -> Option<SemanticTrainingCanaryRefusalReason>
Trait Implementations§
Source§impl Clone for SemanticTrainingCanaryRefusalRecord
impl Clone for SemanticTrainingCanaryRefusalRecord
Source§fn clone(&self) -> SemanticTrainingCanaryRefusalRecord
fn clone(&self) -> SemanticTrainingCanaryRefusalRecord
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 SemanticTrainingCanaryRefusalRecord
Source§impl Default for SemanticTrainingCanaryRefusalRecord
impl Default for SemanticTrainingCanaryRefusalRecord
Source§fn default() -> SemanticTrainingCanaryRefusalRecord
fn default() -> SemanticTrainingCanaryRefusalRecord
Returns the “default value” for a type. Read more
impl DeviceRepr for SemanticTrainingCanaryRefusalRecord
impl Eq for SemanticTrainingCanaryRefusalRecord
impl StructuralPartialEq for SemanticTrainingCanaryRefusalRecord
Auto Trait Implementations§
impl Freeze for SemanticTrainingCanaryRefusalRecord
impl RefUnwindSafe for SemanticTrainingCanaryRefusalRecord
impl Send for SemanticTrainingCanaryRefusalRecord
impl Sync for SemanticTrainingCanaryRefusalRecord
impl Unpin for SemanticTrainingCanaryRefusalRecord
impl UnsafeUnpin for SemanticTrainingCanaryRefusalRecord
impl UnwindSafe for SemanticTrainingCanaryRefusalRecord
Blanket Implementations§
impl<T> Allocation for T
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more