pub struct Gate {
pub offset: u64,
pub length: u64,
pub align: u64,
}Expand description
Gates are a range into an object that a
Cap / Del provides access to.
Typically Gates are set to the entire
object, but can be defined to the byte-level.
This primitive is used to support Secure API Calls
TODO: link more info about secure api calls
Fields§
§offset: u64The offset into the object that we provide permissions for
length: u64How far that area should strech, from the offset
align: u64The alignment
Implementations§
Trait Implementations§
impl Copy for Gate
impl Eq for Gate
impl StructuralPartialEq for Gate
Auto Trait Implementations§
impl Freeze for Gate
impl ObjSafe for Gate
impl RefUnwindSafe for Gate
impl Send for Gate
impl StoreCopy for Gate
impl Sync for Gate
impl Unpin for Gate
impl UnwindSafe for Gate
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,
§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
Compare self to
key and return true if they are equal.