[−][src]Trait streamsha::traits::Resumable
Trait for pausing and resuming the hashing state.
Required methods
fn pause(self) -> HashState
Returns the current hash state.
NOTE: It returns raw data of block if the block is incomplete.
fn resume(hash_state: HashState) -> Result<Self, Error>
Recreate new instance from given hash state.