pub struct LogSettingsProxy { /* private fields */ }
Implementations§
Source§impl LogSettingsProxy
impl LogSettingsProxy
Sourcepub fn new(channel: AsyncChannel) -> Self
pub fn new(channel: AsyncChannel) -> Self
Create a new Proxy for fuchsia.diagnostics/LogSettings.
Sourcepub fn take_event_stream(&self) -> LogSettingsEventStream
pub fn take_event_stream(&self) -> LogSettingsEventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
pub fn register_interest( &self, selectors: &[LogInterestSelector], ) -> Result<(), Error>
Sourcepub fn set_interest(
&self,
selectors: &[LogInterestSelector],
) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn set_interest( &self, selectors: &[LogInterestSelector], ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
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.
Sourcepub fn set_component_interest(
&self,
payload: &LogSettingsSetComponentInterestRequest,
) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn set_component_interest( &self, payload: &LogSettingsSetComponentInterestRequest, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
Requests a change in interest for the matched components.
Each component holds a set of requested interests.
When a new request on LogSettings#SetComponentInterest is received,
the sets for matched components receive the new minimum interest.
If the interest is less than the previous minimum interest, then a
SetComponentInterest
request is sent with the new minimum interest.
If a connection to LogSettings
sends another SetComponentInterest
request, its previous interest request will be undone.
When the connection to LogSettings
is finished, the interests are
undone, unless persist is set to true. Each matched component minimum
interest is updated with the new minimum interest in the set.
Trait Implementations§
Source§impl Clone for LogSettingsProxy
impl Clone for LogSettingsProxy
Source§fn clone(&self) -> LogSettingsProxy
fn clone(&self) -> LogSettingsProxy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for LogSettingsProxy
impl Debug for LogSettingsProxy
Source§impl LogSettingsProxyInterface for LogSettingsProxy
impl LogSettingsProxyInterface for LogSettingsProxy
type SetInterestResponseFut = QueryResponseFut<()>
type SetComponentInterestResponseFut = QueryResponseFut<()>
fn register_interest( &self, selectors: &[LogInterestSelector], ) -> Result<(), Error>
fn set_interest( &self, selectors: &[LogInterestSelector], ) -> Self::SetInterestResponseFut
fn set_component_interest( &self, payload: &LogSettingsSetComponentInterestRequest, ) -> Self::SetComponentInterestResponseFut
Source§impl Proxy for LogSettingsProxy
impl Proxy for LogSettingsProxy
Source§type Protocol = LogSettingsMarker
type Protocol = LogSettingsMarker
Proxy
controls.