pub enum LogSettingsRequest {
RegisterInterest {
selectors: Vec<LogInterestSelector>,
control_handle: LogSettingsControlHandle,
},
SetInterest {
selectors: Vec<LogInterestSelector>,
responder: LogSettingsSetInterestResponder,
},
}
Expand description
This protocol allows clients to modify the logging behavior of components in the system.
Variants§
RegisterInterest
SetInterest
Requests a change in interest for the matched components.
Each component holds a set of requested interests.
When a new request on LogSettings#SetInterest is received,
the sets for matched components receive the new minimum interest.
If the interest is less than the previous minimum interest, then a
SetInterest
request is sent with the new minimum interest.
If a connection to LogSettings
sends another SetInterest
request, its previous interest request will be undone.
When the connection to LogSettings
is finished, the interests are
undone. Each matched component minimum interest is updated with the
new minimum interest in the set.
Implementations§
Source§impl LogSettingsRequest
impl LogSettingsRequest
pub fn into_register_interest( self, ) -> Option<(Vec<LogInterestSelector>, LogSettingsControlHandle)>
pub fn into_set_interest( self, ) -> Option<(Vec<LogInterestSelector>, LogSettingsSetInterestResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL