pub enum SimpleRequest {
Add {
augend: u8,
addend: u8,
responder: SimpleAddResponder,
},
}
Variants§
Implementations§
Source§impl SimpleRequest
impl SimpleRequest
pub fn into_add(self) -> Option<(u8, u8, SimpleAddResponder)>
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 SimpleRequest
impl !RefUnwindSafe for SimpleRequest
impl Send for SimpleRequest
impl Sync for SimpleRequest
impl Unpin for SimpleRequest
impl !UnwindSafe for SimpleRequest
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