pub trait Classifier {
// Required method
fn classify(&self, data: &[u8]) -> Type;
}Expand description
Classifies a raw wire protocol message as a read, a write, a transaction statement or unknown. Implement it to route another protocol.
PHP: Utopia\Query\Classifier.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".