[][src]Struct sunrise_libuser::example::IExample3Proxy

pub struct IExample3Proxy(ClientSession);

Interfaces can also return other interfaces. We call an instance of an interface an object. This is often used to give each interface its own state. For instance, a filesystem may return an object of interface file when the user requests to open one.

Implementations

impl IExample3Proxy[src]

pub fn raw_new() -> Result<IExample3Proxy, Error>[src]

Creates a new IExample3Proxy by connecting to the hello:3 service.

pub fn new() -> Result<&'static IExample3Proxy, Error>[src]

Acquires the shared handle to the hello:3 service - connecting if it wasn't already.

impl IExample3Proxy[src]

pub fn clone_current_object(&self) -> Result<Self, Error>[src]

Clones the current object, returning a new handle. The returned handle has its own IPC buffer - it may be used concurrently with the original.

pub fn function(&self) -> Result<IExample3SubsessionProxy, Error>[src]

The type of an instance of an interface is object<InterfaceName>. You always need to use the fully qualified name, path and all.

It is also allowed to pass objects as arguments to function, though this is rarely used in practice.

Trait Implementations

impl Debug for IExample3Proxy[src]

impl From<ClientSession> for IExample3Proxy[src]

impl From<IExample3Proxy> for ClientSession[src]

Auto Trait Implementations

impl RefUnwindSafe for IExample3Proxy

impl Send for IExample3Proxy

impl Sync for IExample3Proxy

impl Unpin for IExample3Proxy

impl UnwindSafe for IExample3Proxy

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SizedIPCBuffer for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.