pub struct Signature<R> {
pub header: SignatureHeader,
pub container_new: Container,
pub block_hash_iter: BlockHashIter<R>,
}Expand description
Represents a decoded wharf signature file
https://docs.itch.zone/wharf/master/file-formats/signatures.html
Contains the header, the container describing the files/dirs/symlinks, and an iterator over the signature block hashes. The iterator reads from the underlying stream on the fly as items are requested.
Fields§
§header: SignatureHeader§container_new: Container§block_hash_iter: BlockHashIter<R>Trait Implementations§
impl<R> StructuralPartialEq for Signature<R>
Auto Trait Implementations§
impl<R> Freeze for Signature<R>where
R: Freeze,
impl<R> RefUnwindSafe for Signature<R>where
R: RefUnwindSafe,
impl<R> Send for Signature<R>where
R: Send,
impl<R> Sync for Signature<R>where
R: Sync,
impl<R> Unpin for Signature<R>where
R: Unpin,
impl<R> UnwindSafe for Signature<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