pub enum RegistrarRequest {
Register {
fuzzer_url: String,
provider: ClientEnd<ControllerProviderMarker>,
responder: RegistrarRegisterResponder,
},
}
Expand description
Entry point for the fuzz_test_runner
. It uses this protocol to transfer
one end of a channel it creates to the fuzz_manager
. The other end is
passed as a startup handle to the fuzzer component itself, which is used to
provide Controller
s on request.
Variants§
Register
Adds a ControllerProvider
. This should be called by the fuzzer itself,
using the channel provided by the fuzz_test_runner
, and in response to
being started by the fuzz_manager
.
The registry will close the channel to the fuzzer on error, on a
corresponding call to Registry.Disconnect
, or on exit. The fuzzer
should exit when the channel closes.
- request
fuzzer_url
the package URL for the fuzzer. - request
provider
the connection to aControllerProvider
.
Implementations§
Source§impl RegistrarRequest
impl RegistrarRequest
pub fn into_register( self, ) -> Option<(String, ClientEnd<ControllerProviderMarker>, RegistrarRegisterResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RegistrarRequest
impl !RefUnwindSafe for RegistrarRequest
impl Send for RegistrarRequest
impl Sync for RegistrarRequest
impl Unpin for RegistrarRequest
impl !UnwindSafe for RegistrarRequest
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