[−][src]Struct sunrise_libuser::example::IExample3Proxy
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]
fn from(sess: ClientSession) -> IExample3Proxy
[src]
impl From<IExample3Proxy> for ClientSession
[src]
fn from(sess: IExample3Proxy) -> 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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SizedIPCBuffer for T
[src]
fn size(&Self) -> usize
[src]
fn is_cool(usize, usize) -> bool
[src]
unsafe fn from_raw_parts<'a>(usize, usize) -> &'a T
[src]
unsafe fn from_raw_parts_mut<'a>(usize, usize) -> &'a mut T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,