pub trait AsChannel {
// Required methods
fn buffer<F: FnOnce(&Path, &str) -> u64>(&self, init: F) -> u64;
fn duration(&self) -> Duration;
fn channel(&self) -> u64;
}Required Methods§
fn buffer<F: FnOnce(&Path, &str) -> u64>(&self, init: F) -> u64
fn duration(&self) -> Duration
fn channel(&self) -> u64
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.