pub trait QueueStateFactory<V: InternalMessageValue> {
type QueueState: QueueState<V>;
// Required method
fn create(&self) -> Result<Self::QueueState>;
}pub trait QueueStateFactory<V: InternalMessageValue> {
type QueueState: QueueState<V>;
// Required method
fn create(&self) -> Result<Self::QueueState>;
}