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<()>
pub fn set_interest( &self, selectors: &[LogInterestSelector] ) -> QueryResponseFut<()>
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.
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
fn register_interest( &self, selectors: &[LogInterestSelector] ) -> Result<(), Error>
type SetInterestResponseFut = QueryResponseFut<()>
fn set_interest( &self, selectors: &[LogInterestSelector] ) -> Self::SetInterestResponseFut
source§impl Proxy for LogSettingsProxy
impl Proxy for LogSettingsProxy
§type Protocol = LogSettingsMarker
type Protocol = LogSettingsMarker
Proxy
controls.