[−][src]Struct sunrise_sm::UserInterface
sm:
service interface.
The main interface to the Service Manager. Clients can use it to connect to
or register new services (assuming they have the appropriate capabilities).
Make sure to call the IUserInterface::initialize
method before using it.
Trait Implementations
impl Clone for UserInterface
[src]
fn clone(&self) -> UserInterface
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for UserInterface
[src]
impl Default for UserInterface
[src]
fn default() -> UserInterface
[src]
impl IUserInterfaceAsync for UserInterface
[src]
fn initialize(
&mut self,
_manager: WorkQueue<'static>,
_pid: Pid
) -> FutureObj<Result<(), Error>>
[src]
&mut self,
_manager: WorkQueue<'static>,
_pid: Pid
) -> FutureObj<Result<(), Error>>
Initialize the UserInterface, acquiring the Pid of the remote process, which will then be used to validate the permissions of each calls.
fn get_service<'a>(
&mut self,
work_queue: WorkQueue<'a>,
servicename: u64
) -> FutureObj<'a, Result<ClientSession, Error>>
[src]
&mut self,
work_queue: WorkQueue<'a>,
servicename: u64
) -> FutureObj<'a, Result<ClientSession, Error>>
Get a ClientSession to this service.
fn register_service(
&mut self,
_work_queue: WorkQueue<'static>,
servicename: u64,
is_light: bool,
max_handles: u32
) -> FutureObj<Result<ServerPort, Error>>
[src]
&mut self,
_work_queue: WorkQueue<'static>,
servicename: u64,
is_light: bool,
max_handles: u32
) -> FutureObj<Result<ServerPort, Error>>
Register a new service, returning a ServerPort to the newly registered service.
fn unregister_service(
&mut self,
_work_queue: WorkQueue<'static>,
servicename: u64
) -> FutureObj<Result<(), Error>>
[src]
&mut self,
_work_queue: WorkQueue<'static>,
servicename: u64
) -> FutureObj<Result<(), Error>>
Unregister a service.
fn dispatch(
&'a mut self,
work_queue: WorkQueue<'static>,
cmdid: u32,
buf: &'a mut [u8]
) -> FutureObj<'a, Result<(), Error>>
[src]
&'a mut self,
work_queue: WorkQueue<'static>,
cmdid: u32,
buf: &'a mut [u8]
) -> FutureObj<'a, Result<(), Error>>
Auto Trait Implementations
impl RefUnwindSafe for UserInterface
impl Send for UserInterface
impl Sync for UserInterface
impl Unpin for UserInterface
impl UnwindSafe for UserInterface
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(addr: usize, size: usize) -> bool
[src]
unsafe fn from_raw_parts<'a>(addr: usize, _size: usize) -> &'a T
[src]
unsafe fn from_raw_parts_mut<'a>(addr: usize, _size: usize) -> &'a mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &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>,