[−][src]Struct sunrise_libuser::example::IExample1Proxy
Here's a simple example of an interface. This is a service that can be connected to by connecting to "hello:1" with sm's get_service function.
Lines starting with # are documentation comments: They will end up in the documentation for the structs and traits generated from this interface.
This interface has no command - the only useful thing you can do with it is close it.
Interface names dictate where the generated structs and traits will be generated. They must follow the scheme crate_name::module::path::IFaceName.
Implementations
impl IExample1Proxy
[src]
pub fn raw_new() -> Result<IExample1Proxy, Error>
[src]
Creates a new IExample1Proxy by connecting to the hello:1
service.
pub fn new() -> Result<&'static IExample1Proxy, Error>
[src]
Acquires the shared handle to the hello:1
service - connecting if it wasn't already.
impl IExample1Proxy
[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.
Trait Implementations
impl Debug for IExample1Proxy
[src]
impl From<ClientSession> for IExample1Proxy
[src]
fn from(sess: ClientSession) -> IExample1Proxy
[src]
impl From<IExample1Proxy> for ClientSession
[src]
fn from(sess: IExample1Proxy) -> ClientSession
[src]
Auto Trait Implementations
impl RefUnwindSafe for IExample1Proxy
impl Send for IExample1Proxy
impl Sync for IExample1Proxy
impl Unpin for IExample1Proxy
impl UnwindSafe for IExample1Proxy
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>,