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