pub trait BinImpl: ElementImpl + ObjectSubclass<Type: IsA<Bin>> {
// Provided methods
fn add_element(&self, element: &Element) -> Result<(), LoggableError> { ... }
fn remove_element(&self, element: &Element) -> Result<(), LoggableError> { ... }
fn do_latency(&self) -> Result<(), LoggableError> { ... }
fn handle_message(&self, message: Message) { ... }
}
Provided Methods§
Sourcefn add_element(&self, element: &Element) -> Result<(), LoggableError>
fn add_element(&self, element: &Element) -> Result<(), LoggableError>
Sourcefn remove_element(&self, element: &Element) -> Result<(), LoggableError>
fn remove_element(&self, element: &Element) -> Result<(), LoggableError>
fn do_latency(&self) -> Result<(), LoggableError>
Sourcefn handle_message(&self, message: Message)
fn handle_message(&self, message: Message)
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.