[−][src]Struct sunrise_libuser::twili::ITwiliServiceProxy
The Twili Service is responsible for providing the stdin/stdout/stderr pipes to the various subprocesses. It is freely inspired by the twili switch sysmodule.
Implementations
impl ITwiliServiceProxy
[src]
pub fn raw_new() -> Result<ITwiliServiceProxy, Error>
[src]
Creates a new ITwiliServiceProxy by connecting to the twili
service.
pub fn new() -> Result<&'static ITwiliServiceProxy, Error>
[src]
Acquires the shared handle to the twili
service - connecting if it wasn't already.
impl ITwiliServiceProxy
[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 open_pipes(&self) -> Result<(IPipeProxy, IPipeProxy, IPipeProxy), Error>
[src]
Recover the stdin/stdout/stderr pipes for the current process.
If none were registered, returns an error.
pub fn create_pipe(&self) -> Result<(IPipeProxy, IPipeProxy), Error>
[src]
Creates a pipe whose write gets buffered and returned to the read side.
Tryting to write to the read side or read from the write side will return an error.
Trait Implementations
impl Debug for ITwiliServiceProxy
[src]
impl From<ClientSession> for ITwiliServiceProxy
[src]
fn from(sess: ClientSession) -> ITwiliServiceProxy
[src]
impl From<ITwiliServiceProxy> for ClientSession
[src]
fn from(sess: ITwiliServiceProxy) -> ClientSession
[src]
Auto Trait Implementations
impl RefUnwindSafe for ITwiliServiceProxy
impl Send for ITwiliServiceProxy
impl Sync for ITwiliServiceProxy
impl Unpin for ITwiliServiceProxy
impl UnwindSafe for ITwiliServiceProxy
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>,