[][src]Struct sunrise_libuser::time::StaticServiceProxy

pub struct StaticServiceProxy(ClientSession);

Entry point interface

Implementations

impl StaticServiceProxy[src]

pub fn raw_new_time_u() -> Result<StaticServiceProxy, Error>[src]

Creates a new StaticServiceProxy by connecting to the time:u service.

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

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

pub fn raw_new_time_a() -> Result<StaticServiceProxy, Error>[src]

Creates a new StaticServiceProxy by connecting to the time:a service.

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

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

pub fn raw_new_time_s() -> Result<StaticServiceProxy, Error>[src]

Creates a new StaticServiceProxy by connecting to the time:s service.

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

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

impl StaticServiceProxy[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 get_timezone_service(&self) -> Result<TimeZoneServiceProxy, Error>[src]

Get the TimeZone service object

Trait Implementations

impl Debug for StaticServiceProxy[src]

impl From<ClientSession> for StaticServiceProxy[src]

impl From<StaticServiceProxy> for ClientSession[src]

Auto Trait Implementations

impl RefUnwindSafe for StaticServiceProxy

impl Send for StaticServiceProxy

impl Sync for StaticServiceProxy

impl Unpin for StaticServiceProxy

impl UnwindSafe for StaticServiceProxy

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.