pub enum PingRequest {
Ping {
ping: String,
responder: PingPingResponder,
},
}
Variants§
Ping
Returns a string that is the concatenation of the input ping
a space and the string “pong”.
Implementations§
Source§impl PingRequest
impl PingRequest
pub fn into_ping(self) -> Option<(String, PingPingResponder)>
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 PingRequest
impl !RefUnwindSafe for PingRequest
impl Send for PingRequest
impl Sync for PingRequest
impl Unpin for PingRequest
impl !UnwindSafe for PingRequest
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