pub struct QueueDashboard { /* private fields */ }Expand description
A read-only view of what the queue is doing.
Implementations§
Source§impl QueueDashboard
impl QueueDashboard
pub fn new(queue: Arc<dyn Queue>) -> Self
Sourcepub fn at(self, path: impl Into<String>) -> Self
pub fn at(self, path: impl Into<String>) -> Self
Serve the dashboard somewhere other than /queue.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for QueueDashboard
impl !UnwindSafe for QueueDashboard
impl Freeze for QueueDashboard
impl Send for QueueDashboard
impl Sync for QueueDashboard
impl Unpin for QueueDashboard
impl UnsafeUnpin for QueueDashboard
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