pub struct SnapshotDigestBuilderV1 { /* private fields */ }Expand description
Deterministic snapshot digest builder. Observation ordering does not affect the result, while duplicate labels fail closed.
Callers must supply opaque secret handles or versions, never decrypted secret plaintext.
Implementations§
Source§impl SnapshotDigestBuilderV1
impl SnapshotDigestBuilderV1
pub fn add_observation( &mut self, label: impl Into<String>, bytes: impl AsRef<[u8]>, ) -> Result<&mut Self, SnapshotDigestError>
pub fn finish(self) -> SnapshotDigestV1
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SnapshotDigestBuilderV1
impl RefUnwindSafe for SnapshotDigestBuilderV1
impl Send for SnapshotDigestBuilderV1
impl Sync for SnapshotDigestBuilderV1
impl Unpin for SnapshotDigestBuilderV1
impl UnsafeUnpin for SnapshotDigestBuilderV1
impl UnwindSafe for SnapshotDigestBuilderV1
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