pub struct Service {
pub signature: Option<String>,
pub name: String,
pub methods: BTreeSet<String>,
pub lifetime: Lifetime,
pub linger_ms: u32,
}Fields§
§signature: Option<String>Canonical contract identity when this service participates in typed ABI matching.
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 Servicewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, SetValZST)>>: Freeze,
impl Move for Service
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnsafeUnpin for Servicewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, SetValZST)>>: UnsafeUnpin,
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