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.
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<()>
fn register_interest( &self, selectors: &[LogInterestSelector], ) -> Result<(), Error>
fn set_interest( &self, selectors: &[LogInterestSelector], ) -> Self::SetInterestResponseFut
Source§impl Proxy for LogSettingsProxy
impl Proxy for LogSettingsProxy
Source§type Protocol = LogSettingsMarker
type Protocol = LogSettingsMarker
Proxy
controls.Source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
§fn into_client_end(self) -> Result<ClientEnd<Self::Protocol>, Self>
fn into_client_end(self) -> Result<ClientEnd<Self::Protocol>, Self>
Auto Trait Implementations§
impl Freeze for LogSettingsProxy
impl !RefUnwindSafe for LogSettingsProxy
impl Send for LogSettingsProxy
impl Sync for LogSettingsProxy
impl Unpin for LogSettingsProxy
impl !UnwindSafe for LogSettingsProxy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)