Skip to main content

Stream

Trait Stream 

Source
pub trait Stream<A: Application>:
    Clone
    + Send
    + Sync
    + Serialize
    + DeserializeOwned
    + 'static {
    const ID: &'static str;
    const VERSION: u32;
    const WINDOW: usize;

    // Provided methods
    fn batch_definition() -> Option<BatchDefinition> { ... }
    fn metadata() -> Metadata { ... }
    fn row_metadata() -> Vec<StreamField> { ... }
    fn definition() -> Definition { ... }
}

Required Associated Constants§

Source

const ID: &'static str

Source

const VERSION: u32

Source

const WINDOW: usize

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<A, S> Stream<A> for S

Source§

const ID: &'static str = S::ID

Source§

const VERSION: u32 = S::VERSION

Source§

const WINDOW: usize = S::WINDOW