pub struct LogSettingsProxy { /* private fields */ }
Implementations§
source§impl LogSettingsProxy
impl LogSettingsProxy
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 LogSettings protocol
Panics
Panics if the event stream was already taken.
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>
) -> QueryResponseFut<()>
pub fn set_interest( &self, selectors: &mut dyn ExactSizeIterator<Item = &mut 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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: &mut dyn ExactSizeIterator<Item = &mut LogInterestSelector> ) -> Result<(), Error>
type SetInterestResponseFut = QueryResponseFut<()>
fn set_interest( &self, selectors: &mut dyn ExactSizeIterator<Item = &mut LogInterestSelector> ) -> Self::SetInterestResponseFut
source§impl Proxy for LogSettingsProxy
impl Proxy for LogSettingsProxy
§type Protocol = LogSettingsMarker
type Protocol = LogSettingsMarker
The protocol which this
Proxy
controls.source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Create a proxy over the given channel.
source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Attempt to convert the proxy back into a channel. Read more
source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
Get a reference to the proxy’s underlying channel. Read more