pub struct FloorPointerPrefix {
pub key: KeyId,
pub first: Slot,
pub device: DeviceId,
pub number: Slot,
pub body: [u8; 32],
}Expand description
The clear routing of a floor pointer: kind 42, format, then
key | first | device | number | digest.
Fields§
§key: KeyIdStore key sealing the pointer’s header.
first: SlotFirst kept slot; guides key discovery until the floor authenticates.
device: DeviceIdThe device that wrote the body.
number: SlotThe body’s number among that device’s floor bodies.
body: [u8; 32]The digest of the body’s complete bytes, signature included.
Implementations§
Source§impl FloorPointerPrefix
impl FloorPointerPrefix
Sourcepub fn body_path(&self, store: StoreId) -> ObjectPath
pub fn body_path(&self, store: StoreId) -> ObjectPath
The path of the body this pointer names in store.
Trait Implementations§
Source§impl Clone for FloorPointerPrefix
impl Clone for FloorPointerPrefix
impl Copy for FloorPointerPrefix
Source§impl Debug for FloorPointerPrefix
impl Debug for FloorPointerPrefix
impl Eq for FloorPointerPrefix
Source§impl PartialEq for FloorPointerPrefix
impl PartialEq for FloorPointerPrefix
impl StructuralPartialEq for FloorPointerPrefix
Auto Trait Implementations§
impl Freeze for FloorPointerPrefix
impl RefUnwindSafe for FloorPointerPrefix
impl Send for FloorPointerPrefix
impl Sync for FloorPointerPrefix
impl Unpin for FloorPointerPrefix
impl UnsafeUnpin for FloorPointerPrefix
impl UnwindSafe for FloorPointerPrefix
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
Checks if this value is equivalent to the given key. Read more