pub struct MockHealthVerificationService { /* private fields */ }
Implementations§
Source§impl MockHealthVerificationService
impl MockHealthVerificationService
Sourcepub fn new(hook: impl Hook + 'static) -> Self
pub fn new(hook: impl Hook + 'static) -> Self
Creates a new MockHealthVerificationService with a given callback to run per call to the service.
pub fn spawn_health_verification_service( self: Arc<Self>, ) -> (HealthVerificationProxy, Task<()>)
Sourcepub async fn run_health_verification_service(
self: Arc<Self>,
stream: HealthVerificationRequestStream,
)
pub async fn run_health_verification_service( self: Arc<Self>, stream: HealthVerificationRequestStream, )
Serves fuchsia.update.verify/HealthVerification.QueryHealthChecks
Auto Trait Implementations§
impl Freeze for MockHealthVerificationService
impl !RefUnwindSafe for MockHealthVerificationService
impl Send for MockHealthVerificationService
impl Sync for MockHealthVerificationService
impl Unpin for MockHealthVerificationService
impl !UnwindSafe for MockHealthVerificationService
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