pub enum AccessError {
AccessDenied,
OnlyOnes,
WriteError,
TypeError,
OutOfBounds,
SizeError,
DataAclInconsistency(DataSlotAccess),
}Variants§
AccessDenied
Access is anticipated to be denied by the hardware. Users can attempt to still bypass the access control, but the result will either be invalid data, returned, a failed, write, or a security alarm being raised, depending on the hardware enforcement policy at play.
OnlyOnes
Returned when data is written to a slot that only supports 0->1 transitions and the provided data contains 1->0 transitions, but the 0->1 transitions were in fact correctly set
WriteError
Returned when data written did not verify
TypeError
Returned when the wrong type of access settings are passed for setting access
OutOfBounds
Returned when an index request is out of valid bounds
SizeError
Returned when a buffer passed does not match the expected size
DataAclInconsistency(DataSlotAccess)
Returned when a set of slots that should have the same ACL don’t. The value inside is the value of the first ACL in the set.
Trait Implementations§
Source§impl Clone for AccessError
impl Clone for AccessError
Source§fn clone(&self) -> AccessError
fn clone(&self) -> AccessError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more