pub enum ApSmeRequest {
Start {
config: ApConfig,
responder: ApSmeStartResponder,
},
Stop {
responder: ApSmeStopResponder,
},
Status {
responder: ApSmeStatusResponder,
},
}
Variants§
Implementations§
Source§impl ApSmeRequest
impl ApSmeRequest
pub fn into_start(self) -> Option<(ApConfig, ApSmeStartResponder)>
pub fn into_stop(self) -> Option<ApSmeStopResponder>
pub fn into_status(self) -> Option<ApSmeStatusResponder>
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 ApSmeRequest
impl !RefUnwindSafe for ApSmeRequest
impl Send for ApSmeRequest
impl Sync for ApSmeRequest
impl Unpin for ApSmeRequest
impl !UnwindSafe for ApSmeRequest
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