pub struct QueueTableRegistry { /* private fields */ }Expand description
Registry extension for queue tables
Implementations§
Source§impl QueueTableRegistry
impl QueueTableRegistry
Sourcepub fn register_queue(&self, config: QueueIndexConfig)
pub fn register_queue(&self, config: QueueIndexConfig)
Register a table as a queue
Sourcepub fn get_queue_config(&self, table_name: &str) -> Option<QueueIndexConfig>
pub fn get_queue_config(&self, table_name: &str) -> Option<QueueIndexConfig>
Get queue config
Sourcepub fn base(&self) -> &TableIndexRegistry
pub fn base(&self) -> &TableIndexRegistry
Get the base registry
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for QueueTableRegistry
impl !RefUnwindSafe for QueueTableRegistry
impl Send for QueueTableRegistry
impl Sync for QueueTableRegistry
impl Unpin for QueueTableRegistry
impl UnsafeUnpin for QueueTableRegistry
impl UnwindSafe for QueueTableRegistry
Blanket Implementations§
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more