Skip to main content

EvidenceStream

Type Alias EvidenceStream 

Source
pub type EvidenceStream = Pin<Box<dyn Stream<Item = Result<Vec<u8>, ProviderError>> + Send>>;
Expand description

Byte stream returned by ProviderSession::fetch_evidence (the Rust counterpart of the TS AsyncIterable<Uint8Array>).

Aliased Typeยง

#[repr(transparent)]
pub struct EvidenceStream { /* private fields */ }