#[non_exhaustive]pub enum ReportTo {
Host,
Local,
}Expand description
Where a reported measurement goes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Host
Emitted to the host output (the serial log in the configured LogMode),
and delivered to any on-device consumer as well.
Local
Delivered only to on-device consumers — the callback registered with
set_csi_callback or the queue behind
CsiNodeClient::next_csi_packet — and never
written to the host output.
Trait Implementations§
impl Copy for ReportTo
impl Eq for ReportTo
impl StructuralPartialEq for ReportTo
Auto Trait Implementations§
impl Freeze for ReportTo
impl RefUnwindSafe for ReportTo
impl Send for ReportTo
impl Sync for ReportTo
impl Unpin for ReportTo
impl UnsafeUnpin for ReportTo
impl UnwindSafe for ReportTo
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