pub enum TestServiceRequest {
Device(CombinedDeviceRequestStream),
PowerElementProvider(PowerElementProviderRequestStream),
TestDevice(TestDevice2RequestStream),
}
Expand description
A request for one of the member protocols of TestService.
This service is only exposed by test MSDs. This should not be used by an ICD.
Variants§
Device(CombinedDeviceRequestStream)
PowerElementProvider(PowerElementProviderRequestStream)
TestDevice(TestDevice2RequestStream)
Trait Implementations§
Source§impl ServiceRequest for TestServiceRequest
impl ServiceRequest for TestServiceRequest
Source§type Service = TestServiceMarker
type Service = TestServiceMarker
The FIDL service for which this request is destined.
Source§fn dispatch(name: &str, _channel: AsyncChannel) -> Self
fn dispatch(name: &str, _channel: AsyncChannel) -> Self
Dispatches a connection attempt to this FIDL service’s member protocol
identified by
name
, producing an instance of this trait.Source§fn member_names() -> &'static [&'static str]
fn member_names() -> &'static [&'static str]
Returns an array of the service members’ names.
Auto Trait Implementations§
impl Freeze for TestServiceRequest
impl !RefUnwindSafe for TestServiceRequest
impl Send for TestServiceRequest
impl Sync for TestServiceRequest
impl Unpin for TestServiceRequest
impl !UnwindSafe for TestServiceRequest
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