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: Time) -> Result<LogSettingsEvent, Error>
pub fn wait_for_event(&self, deadline: Time) -> 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.
pub fn register_interest( &self, selectors: &mut dyn ExactSizeIterator<Item = &mut LogInterestSelector> ) -> Result<(), Error>
sourcepub fn set_interest(
&self,
selectors: &mut dyn ExactSizeIterator<Item = &mut LogInterestSelector>,
___deadline: Time
) -> Result<(), Error>
pub fn set_interest( &self, selectors: &mut dyn ExactSizeIterator<Item = &mut LogInterestSelector>, ___deadline: Time ) -> 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.