pub trait OneshotObject {
// Required methods
fn name(&self) -> &str;
fn size(&self) -> usize;
fn encodings(&self) -> &[Encoding];
}
Expand description
An object that will be fetched from a OneshotSource
.
pub trait OneshotObject {
// Required methods
fn name(&self) -> &str;
fn size(&self) -> usize;
fn encodings(&self) -> &[Encoding];
}
An object that will be fetched from a OneshotSource
.