pub enum ReporterRequest {
Report {
info: Information,
responder: ReporterReportResponder,
},
}
Expand description
A protocol used to report information about a peripheral to the system.
Variants§
Report
Report information about a connected peripheral.
Each Report
request will be acknowledged. The client shall wait for the acknowledgement
before sending a subsequent request.
- request
info
is the current information associated with the peripheral.
- response An empty response will be sent when the server has processed the request.
- error Returns
ZX_ERR_INVALID_ARGS
if the providedinfo
is invalidly formatted.
Implementations§
Source§impl ReporterRequest
impl ReporterRequest
pub fn into_report(self) -> Option<(Information, ReporterReportResponder)>
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 ReporterRequest
impl !RefUnwindSafe for ReporterRequest
impl Send for ReporterRequest
impl Sync for ReporterRequest
impl Unpin for ReporterRequest
impl !UnwindSafe for ReporterRequest
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