pub trait UpdateExtractor: Sized {
// Required method
fn extract(update: &Update) -> Option<Self>;
// Provided method
fn describe() -> &'static str { ... }
}Expand description
Typed extractor contract for business handlers.
Required Methods§
Provided Methods§
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.