pub struct DeviceJournalTestOnly { /* private fields */ }Expand description
The primary’s anchored SecurityJournalV2 store (Go
DeviceJournalTestOnly).
Implementations§
Source§impl DeviceJournalTestOnly
impl DeviceJournalTestOnly
Sourcepub fn head(&self) -> SecurityJournalHeadV2
pub fn head(&self) -> SecurityJournalHeadV2
The journal’s anchored head.
Trait Implementations§
Source§impl Debug for DeviceJournalTestOnly
impl Debug for DeviceJournalTestOnly
Source§impl SecurityJournalStoreV2 for DeviceJournalTestOnly
impl SecurityJournalStoreV2 for DeviceJournalTestOnly
Source§fn compare_and_swap(
&self,
ctx: &V2Context,
expected: &SecurityJournalHeadV2,
next: &SecurityJournalV2,
) -> Result<(), SecurityJournalStoreErrorV2>
fn compare_and_swap( &self, ctx: &V2Context, expected: &SecurityJournalHeadV2, next: &SecurityJournalV2, ) -> Result<(), SecurityJournalStoreErrorV2>
The new journal state is anchored with the rest of the primary’s state.
fn load( &self, ctx: &V2Context, ) -> V2Result<(SecurityJournalV2, SecurityJournalHeadV2)>
Auto Trait Implementations§
impl Forget for DeviceJournalTestOnly
impl Freeze for DeviceJournalTestOnly
impl RefUnwindSafe for DeviceJournalTestOnly
impl Send for DeviceJournalTestOnly
impl Sync for DeviceJournalTestOnly
impl Unpin for DeviceJournalTestOnly
impl UnsafeUnpin for DeviceJournalTestOnly
impl UnwindSafe for DeviceJournalTestOnly
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