pub enum ServiceRequest {
Controller(ControllerRequestStream),
}
Expand description
A request for one of the member protocols of Service.
The v2 ramdisk driver will expose this service.
Variants§
Controller(ControllerRequestStream)
Trait Implementations§
Source§impl ServiceRequest for ServiceRequest
impl ServiceRequest for ServiceRequest
Source§type Service = ServiceMarker
type Service = ServiceMarker
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 ServiceRequest
impl !RefUnwindSafe for ServiceRequest
impl Send for ServiceRequest
impl Sync for ServiceRequest
impl Unpin for ServiceRequest
impl !UnwindSafe for ServiceRequest
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