[][src]Struct sunrise_time::timezone::TimeZoneFileSystem

struct TimeZoneFileSystem;

Represent the file I/O interface with tzdata.

Implementations

impl TimeZoneFileSystem[src]

pub fn open_file(path: &[u8]) -> Option<TimeZoneFile>[src]

Open a file at the given path in the TimeZone virtual filesystem.

pub fn file_exist(path: &[u8]) -> bool[src]

Check for a file existance at the given path in the TimeZone virtual filesystem.

pub fn file_count() -> u32[src]

Return the total amount of files in the TimeZone virtual filesystem.

Auto Trait Implementations

impl RefUnwindSafe for TimeZoneFileSystem

impl Send for TimeZoneFileSystem

impl Sync for TimeZoneFileSystem

impl Unpin for TimeZoneFileSystem

impl UnwindSafe for TimeZoneFileSystem

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> Same<T> for T

type Output = T

Should always be Self

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.