pub struct PutResult {
pub merkle: String,
pub xorb_hashes: Vec<String>,
pub bytes_stored: u64,
}Expand description
Result of ingesting bytes via CasStore::put_file_bytes.
Fields§
§merkle: StringServer-computed XET merkle root (hex) of the ingested bytes. Authoritative — derived from the actual content, never supplied by the caller.
xorb_hashes: Vec<String>Hex xorb hashes forming the reconstruction set for this content.
bytes_stored: u64Bytes newly written to the store after content-addressed dedup (0 if every xorb was already present — fully deduplicated).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PutResult
impl RefUnwindSafe for PutResult
impl Send for PutResult
impl Sync for PutResult
impl Unpin for PutResult
impl UnsafeUnpin for PutResult
impl UnwindSafe for PutResult
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