pub struct PartHeader {
pub audience: Audience,
pub record_count: u64,
pub plaintext_length: u64,
}Expand description
The plaintext stream boundaries of one audience part.
Fields§
§audience: AudienceEvery row in the stream belongs to this audience.
record_count: u64Number of change, execution and dismissal frames, without a per-write collection bound.
plaintext_length: u64Sum of the complete change and dismissal frames’ lengths, including frame prefixes.
Implementations§
Source§impl PartHeader
impl PartHeader
Sourcepub fn chunk_count(&self) -> u64
pub fn chunk_count(&self) -> u64
Number of sealed chunks required by this part’s plaintext length.
Trait Implementations§
Source§impl Clone for PartHeader
impl Clone for PartHeader
Source§fn clone(&self) -> PartHeader
fn clone(&self) -> PartHeader
Returns a duplicate 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 moreSource§impl Debug for PartHeader
impl Debug for PartHeader
Source§impl PartialEq for PartHeader
impl PartialEq for PartHeader
impl Eq for PartHeader
impl StructuralPartialEq for PartHeader
Auto Trait Implementations§
impl Freeze for PartHeader
impl RefUnwindSafe for PartHeader
impl Send for PartHeader
impl Sync for PartHeader
impl Unpin for PartHeader
impl UnsafeUnpin for PartHeader
impl UnwindSafe for PartHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more