Struct fuchsia_zircon::Time [] [src]

pub struct Time(_);

Methods

impl Time
[src]

INFINITE: Time = Time(sys::ZX_TIME_INFINITE)

[src]

Get the current time, from the specific clock id.

Wraps the zx_time_get syscall.

[src]

Compute a deadline for the time in the future that is the given Duration away.

Wraps the zx_deadline_after syscall.

[src]

Sleep until the given time.

Wraps the zx_nanosleep syscall.

[src]

[src]

Trait Implementations

impl Debug for Time
[src]

[src]

Formats the value using the given formatter.

impl Copy for Time
[src]

impl Clone for Time
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Time
[src]

impl PartialEq for Time
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Ord for Time
[src]

[src]

This method returns an Ordering between self and other. Read more

1.22.0
[src]

Compares and returns the maximum of two values. Read more

1.22.0
[src]

Compares and returns the minimum of two values. Read more

impl PartialOrd for Time
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Hash for Time
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Add<Duration> for Time
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Sub<Duration> for Time
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl AddAssign<Duration> for Time
[src]

[src]

Performs the += operation.

impl SubAssign<Duration> for Time
[src]

[src]

Performs the -= operation.