pub struct DownloadedWriteStream<R> {
pub header: WriteHeaderFrame,
pub parts: Vec<DownloadedPartStream<R>>,
pub signer: SigningKey,
pub authorship: WriteAuthorship,
}Expand description
A checked write header and its audience streams. The database commits only after sync confirms authentication. Parts follow the header’s order and count.
Fields§
§header: WriteHeaderFrameAuthenticated identity, causality and plaintext stream boundaries.
parts: Vec<DownloadedPartStream<R>>Opened plaintext or an explicit unreadable audience, in header order.
signer: SigningKeyThe key that authenticated this original in its authored view.
The signed header evidence and each opened part’s keyed leaf hasher.
Auto Trait Implementations§
impl<R> Freeze for DownloadedWriteStream<R>
impl<R> RefUnwindSafe for DownloadedWriteStream<R>where
R: RefUnwindSafe,
impl<R> Send for DownloadedWriteStream<R>where
R: Send,
impl<R> Sync for DownloadedWriteStream<R>where
R: Sync,
impl<R> Unpin for DownloadedWriteStream<R>where
R: Unpin,
impl<R> UnsafeUnpin for DownloadedWriteStream<R>
impl<R> UnwindSafe for DownloadedWriteStream<R>where
R: UnwindSafe,
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