pub struct LinearQuantityServiceHandle(/* private fields */);Expand description
Registry handle for a LinearQuantityService.
Implementations§
Source§impl LinearQuantityServiceHandle
impl LinearQuantityServiceHandle
pub fn new(service: Arc<dyn LinearQuantityService>) -> Self
pub fn measure_linear_quantity( &self, request: &LinearQuantityRequest, ) -> Result<LinearQuantityEvidence, LinearQuantityError>
Trait Implementations§
Source§impl Clone for LinearQuantityServiceHandle
impl Clone for LinearQuantityServiceHandle
Source§fn clone(&self) -> LinearQuantityServiceHandle
fn clone(&self) -> LinearQuantityServiceHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for LinearQuantityServiceHandle
impl !UnwindSafe for LinearQuantityServiceHandle
impl Freeze for LinearQuantityServiceHandle
impl Send for LinearQuantityServiceHandle
impl Sync for LinearQuantityServiceHandle
impl Unpin for LinearQuantityServiceHandle
impl UnsafeUnpin for LinearQuantityServiceHandle
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