pub struct SyntheticContentMarker;Expand description
Generates synthetic content markers for output files.
Implementations§
Source§impl SyntheticContentMarker
impl SyntheticContentMarker
Sourcepub fn create_credential(config_hash: String, seed: u64) -> ContentCredential
pub fn create_credential(config_hash: String, seed: u64) -> ContentCredential
Create a content credential from config hash and seed.
Sourcepub fn hash_config(config_yaml: &str) -> String
pub fn hash_config(config_yaml: &str) -> String
Compute SHA-256 hash of configuration YAML.
Sourcepub fn create_sidecar(credential: &ContentCredential) -> String
pub fn create_sidecar(credential: &ContentCredential) -> String
Create a sidecar credential file content (JSON).
Auto Trait Implementations§
impl Freeze for SyntheticContentMarker
impl RefUnwindSafe for SyntheticContentMarker
impl Send for SyntheticContentMarker
impl Sync for SyntheticContentMarker
impl Unpin for SyntheticContentMarker
impl UnsafeUnpin for SyntheticContentMarker
impl UnwindSafe for SyntheticContentMarker
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