pub type StreamResult = Result<Pin<Box<dyn Stream<Item = ProviderEvent> + Send>>, ProviderError>;Expand description
Stable since 0.63.0
Provider trait, streaming options, and provider registry.
Stream result type aliasAliased Type§
pub enum StreamResult {
Ok(Pin<Box<dyn Stream<Item = ProviderEvent> + Send>>),
Err(ProviderError),
}Variants§
Ok(Pin<Box<dyn Stream<Item = ProviderEvent> + Send>>)
Contains the success value
Err(ProviderError)
Contains the error value