pub enum EchoServiceRequest {
RegularEcho(EchoRequestStream),
ReversedEcho(EchoRequestStream),
}
Expand description
A request for one of the member protocols of EchoService.
Variants§
RegularEcho(EchoRequestStream)
ReversedEcho(EchoRequestStream)
Trait Implementations§
Source§impl ServiceRequest for EchoServiceRequest
impl ServiceRequest for EchoServiceRequest
Source§type Service = EchoServiceMarker
type Service = EchoServiceMarker
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 EchoServiceRequest
impl !RefUnwindSafe for EchoServiceRequest
impl Send for EchoServiceRequest
impl Sync for EchoServiceRequest
impl Unpin for EchoServiceRequest
impl !UnwindSafe for EchoServiceRequest
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