pub struct ContactServiceHandle(/* private fields */);Expand description
Registry handle for a ContactService.
Implementations§
Source§impl ContactServiceHandle
impl ContactServiceHandle
pub fn new(service: Arc<dyn ContactService>) -> Self
pub fn measure_contact( &self, request: &ContactRequest, ) -> Result<ContactEvidence, ContactError>
Trait Implementations§
Source§impl Clone for ContactServiceHandle
impl Clone for ContactServiceHandle
Source§fn clone(&self) -> ContactServiceHandle
fn clone(&self) -> ContactServiceHandle
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 ContactServiceHandle
impl !UnwindSafe for ContactServiceHandle
impl Freeze for ContactServiceHandle
impl Send for ContactServiceHandle
impl Sync for ContactServiceHandle
impl Unpin for ContactServiceHandle
impl UnsafeUnpin for ContactServiceHandle
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