pub struct ServiceBuilder { /* private fields */ }
Available on crate feature
service
only.Implementations§
source§impl ServiceBuilder
impl ServiceBuilder
sourcepub fn description<S: ToString>(self, description: S) -> Self
pub fn description<S: ToString>(self, description: S) -> Self
Description for the service.
sourcepub fn stats_handler<F>(self, handler: F) -> Self
pub fn stats_handler<F>(self, handler: F) -> Self
Handler for custom service statistics.
sourcepub fn queue_group<S: ToString>(self, queue_group: S) -> Self
pub fn queue_group<S: ToString>(self, queue_group: S) -> Self
Custom queue group. Default is q
.
Auto Trait Implementations§
impl Freeze for ServiceBuilder
impl !RefUnwindSafe for ServiceBuilder
impl Send for ServiceBuilder
impl !Sync for ServiceBuilder
impl Unpin for ServiceBuilder
impl !UnwindSafe for ServiceBuilder
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