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§
Auto 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