Trait StreamControl

Source
pub trait StreamControl {
    // Required method
    fn attributes(&self) -> &Attributes;

    // Provided methods
    fn resume_downstream(&self) { ... }
    fn close_downstream(&self) { ... }
    fn resume_upstream(&self) { ... }
    fn close_upstream(&self) { ... }
}
Expand description

Defines control functions for streams

Required Methods§

Source

fn attributes(&self) -> &Attributes

Retrieve attributes for the stream data

Provided Methods§

Source

fn resume_downstream(&self)

TODO: UNKNOWN PURPOSE

Source

fn close_downstream(&self)

TODO: UNKNOWN PURPOSE

Source

fn resume_upstream(&self)

TODO: UNKNOWN PURPOSE

Source

fn close_upstream(&self)

TODO: UNKNOWN PURPOSE

Implementors§