[−][src]Struct sunrise_libuser::time::TimeZoneServiceProxy
TimeZone service object
Implementations
impl TimeZoneServiceProxy
[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_device_location_name(&self) -> Result<LocationName, Error>
[src]
Get the time zone name used on this devie
pub fn set_device_location_name(
&self,
unknown_0: LocationName
) -> Result<(), Error>
[src]
&self,
unknown_0: LocationName
) -> Result<(), Error>
Set the time zone name used on this devie
pub fn get_total_location_name_count(&self) -> Result<u32, Error>
[src]
Get the total count of location name available
pub fn load_location_name_list(
&self,
unknown_0: u32,
unknown_1: &mut [LocationName]
) -> Result<u32, Error>
[src]
&self,
unknown_0: u32,
unknown_1: &mut [LocationName]
) -> Result<u32, Error>
Load the list of location name available
pub fn load_timezone_rule(
&self,
unknown_0: LocationName,
unknown_1: &mut TimeZoneRule
) -> Result<(), Error>
[src]
&self,
unknown_0: LocationName,
unknown_1: &mut TimeZoneRule
) -> Result<(), Error>
Load a time zone rule
pub fn to_calendar_time(
&self,
unknown_0: PosixTime,
unknown_1: &TimeZoneRule
) -> Result<(CalendarTime, CalendarAdditionalInfo), Error>
[src]
&self,
unknown_0: PosixTime,
unknown_1: &TimeZoneRule
) -> Result<(CalendarTime, CalendarAdditionalInfo), Error>
Convert a PosixTime to a local time using a TimeZoneRule
pub fn to_calendar_time_with_my_rule(
&self,
unknown_0: PosixTime
) -> Result<(CalendarTime, CalendarAdditionalInfo), Error>
[src]
&self,
unknown_0: PosixTime
) -> Result<(CalendarTime, CalendarAdditionalInfo), Error>
Convert a PosixTime to a local time using the device TimeZoneRule
pub fn to_posix_time(
&self,
unknown_0: CalendarTime,
unknown_1: &TimeZoneRule
) -> Result<PosixTime, Error>
[src]
&self,
unknown_0: CalendarTime,
unknown_1: &TimeZoneRule
) -> Result<PosixTime, Error>
Convert a local time to a PosixTime using a TimeZoneRule.
pub fn to_posix_time_with_my_rule(
&self,
unknown_0: CalendarTime
) -> Result<PosixTime, Error>
[src]
&self,
unknown_0: CalendarTime
) -> Result<PosixTime, Error>
Convert a local time to a PosixTime using the device TimeZoneRule
Trait Implementations
impl Debug for TimeZoneServiceProxy
[src]
impl From<ClientSession> for TimeZoneServiceProxy
[src]
fn from(sess: ClientSession) -> TimeZoneServiceProxy
[src]
impl From<TimeZoneServiceProxy> for ClientSession
[src]
fn from(sess: TimeZoneServiceProxy) -> ClientSession
[src]
Auto Trait Implementations
impl RefUnwindSafe for TimeZoneServiceProxy
impl Send for TimeZoneServiceProxy
impl Sync for TimeZoneServiceProxy
impl Unpin for TimeZoneServiceProxy
impl UnwindSafe for TimeZoneServiceProxy
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>,