pub struct Queue { /* private fields */ }Implementations§
Source§impl Queue
impl Queue
pub fn apply(&mut self, req: AppRequest) -> AppResponse
pub fn rate_config(&self, topic: &str) -> Option<(u64, u32)>
pub fn has_deliverable(&self, topic: &str, group: &str, now_ms: u64) -> bool
pub fn metrics(&self) -> QueueMetrics
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Queue
impl<'de> Deserialize<'de> for Queue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Queue
impl RefUnwindSafe for Queue
impl Send for Queue
impl Sync for Queue
impl Unpin for Queue
impl UnsafeUnpin for Queue
impl UnwindSafe for Queue
Blanket Implementations§
impl<T> AppData for Twhere
T: OptionalSend + OptionalSync + 'static + OptionalSerde,
impl<T> AppDataResponse for Twhere
T: OptionalSend + OptionalSync + 'static + OptionalSerde,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more