pub enum DataPersistenceRequest {
Persist {
tag: String,
responder: DataPersistencePersistResponder,
},
PersistTags {
tags: Vec<String>,
responder: DataPersistencePersistTagsResponder,
},
}
Expand description
Stores limited amounts of Inspect-formatted data till the next boot and publishes it in the “diagnostics-persistence” component’s inspect tree.
Variants§
Persist
Schedule the persistence of the selected data associated with this tag in diagnostics-persistence config files. Fetching the selected data may be delayed if there is other work in a given service’s queue.
PersistTags
Schedule the persistence of the selected data associated with these tags in diagnostics-persistence config files. Fetching the selected data may be delayed if there is other work in a given service’s queue.
Implementations§
Source§impl DataPersistenceRequest
impl DataPersistenceRequest
pub fn into_persist(self) -> Option<(String, DataPersistencePersistResponder)>
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 DataPersistenceRequest
impl !RefUnwindSafe for DataPersistenceRequest
impl Send for DataPersistenceRequest
impl Sync for DataPersistenceRequest
impl Unpin for DataPersistenceRequest
impl !UnwindSafe for DataPersistenceRequest
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