pub struct Service {
pub name: String,
pub methods: BTreeSet<String>,
pub lifetime: Lifetime,
pub linger_ms: u32,
}Fields§
§name: String§methods: BTreeSet<String>§lifetime: Lifetime§linger_ms: u32Keeps an unreferenced object and its tasks live until this idle duration expires.
Implementations§
Trait Implementations§
impl Eq for Service
impl StructuralPartialEq for Service
Auto Trait Implementations§
impl Forget for Service
impl Freeze for Service
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnsafeUnpin for Service
impl UnwindSafe for Service
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