pub enum SwitchRequest {
Member(SampleProtocolRequestStream),
}
Expand description
A request for one of the member protocols of Switch.
Variants§
Member(SampleProtocolRequestStream)
Trait Implementations§
source§impl ServiceRequest for SwitchRequest
impl ServiceRequest for SwitchRequest
§type Service = SwitchMarker
type Service = SwitchMarker
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.