Skip to main content

Readable

Trait Readable 

Source
pub trait Readable {
    // Required method
    fn poll_ready(&self) -> Poll<()>;
}
Expand description

An input a node can wait on: an inbox, or a signal cursor.

Required Methods§

Source

fn poll_ready(&self) -> Poll<()>

Ready when an item (or a block of samples) is there to read without waiting; sets the node to wait for input otherwise.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§