pub struct LogSettingsSynchronousProxy { /* private fields */ }Implementations§
Source§impl LogSettingsSynchronousProxy
impl LogSettingsSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<LogSettingsEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<LogSettingsEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
Sourcepub fn set_interest(
&self,
selectors: &[LogInterestSelector],
___deadline: MonotonicInstant,
) -> Result<(), Error>
pub fn set_interest( &self, selectors: &[LogInterestSelector], ___deadline: MonotonicInstant, ) -> Result<(), Error>
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,
___deadline: MonotonicInstant,
) -> Result<(), Error>
pub fn set_component_interest( &self, payload: &LogSettingsSetComponentInterestRequest, ___deadline: MonotonicInstant, ) -> Result<(), Error>
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 Debug for LogSettingsSynchronousProxy
impl Debug for LogSettingsSynchronousProxy
Source§impl From<Channel> for LogSettingsSynchronousProxy
Available on Fuchsia only.
impl From<Channel> for LogSettingsSynchronousProxy
Source§impl From<LogSettingsSynchronousProxy> for Handle
Available on Fuchsia only.
impl From<LogSettingsSynchronousProxy> for Handle
Source§fn from(value: LogSettingsSynchronousProxy) -> Self
fn from(value: LogSettingsSynchronousProxy) -> Self
Source§impl FromClient for LogSettingsSynchronousProxy
Available on Fuchsia only.
impl FromClient for LogSettingsSynchronousProxy
Source§type Protocol = LogSettingsMarker
type Protocol = LogSettingsMarker
Source§fn from_client(value: ClientEnd<LogSettingsMarker>) -> Self
fn from_client(value: ClientEnd<LogSettingsMarker>) -> Self
Source§impl SynchronousProxy for LogSettingsSynchronousProxy
Available on Fuchsia only.
impl SynchronousProxy for LogSettingsSynchronousProxy
Source§type Proxy = LogSettingsProxy
type Proxy = LogSettingsProxy
Source§type Protocol = LogSettingsMarker
type Protocol = LogSettingsMarker
Proxy controls.