Enum akd::directory::PublishCorruption
source · Expand description
Helpers for testing This enum is meant to insert corruptions into a malicious publish function.
Variants§
UnmarkedStaleVersion(AkdLabel)
Indicates to the malicious publish function to not mark a stale version
MarkVersionStale(AkdLabel, u64)
Indicates to the malicious publish to mark a certain version for a username as stale.
Trait Implementations§
source§impl Clone for PublishCorruption
impl Clone for PublishCorruption
source§fn clone(&self) -> PublishCorruption
fn clone(&self) -> PublishCorruption
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more