pub struct PropertyManagerProxy { /* private fields */ }
Implementations§
source§impl PropertyManagerProxy
impl PropertyManagerProxy
sourcepub fn new(channel: AsyncChannel) -> Self
pub fn new(channel: AsyncChannel) -> Self
Create a new Proxy for PropertyManager
sourcepub fn take_event_stream(&self) -> PropertyManagerEventStream
pub fn take_event_stream(&self) -> PropertyManagerEventStream
Get a Stream of events from the remote end of the PropertyManager protocol
Panics
Panics if the event stream was already taken.
sourcepub fn set_profile(&self, intl_profile: Profile) -> QueryResponseFut<()>
pub fn set_profile(&self, intl_profile: Profile) -> QueryResponseFut<()>
Set the internationalization profile that is served by this provider.
Trait Implementations§
source§impl Clone for PropertyManagerProxy
impl Clone for PropertyManagerProxy
source§fn clone(&self) -> PropertyManagerProxy
fn clone(&self) -> PropertyManagerProxy
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 PropertyManagerProxy
impl Debug for PropertyManagerProxy
source§impl PropertyManagerProxyInterface for PropertyManagerProxy
impl PropertyManagerProxyInterface for PropertyManagerProxy
type SetProfileResponseFut = QueryResponseFut<()>
fn set_profile(&self, intl_profile: Profile) -> Self::SetProfileResponseFut
source§impl Proxy for PropertyManagerProxy
impl Proxy for PropertyManagerProxy
§type Protocol = PropertyManagerMarker
type Protocol = PropertyManagerMarker
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