Skip to main content

StreamEvalSite

Trait StreamEvalSite 

Source
pub trait StreamEvalSite: Send {
    // Required methods
    fn placement(&self) -> &Placement;
    fn device_record(&self) -> &DeviceRecord;
    fn close(self: Box<Self>) -> Result<()>;
}
Expand description

Open stream site returned by a device catalog.

Required Methods§

Source

fn placement(&self) -> &Placement

Returns the placement tier used by this site.

Source

fn device_record(&self) -> &DeviceRecord

Returns the catalog row that opened this site.

Source

fn close(self: Box<Self>) -> Result<()>

Closes the site.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§