Struct libpulse_binding::time::MonotonicTs[][src]

pub struct MonotonicTs(_);

A monotonic timestamp

Methods

impl MonotonicTs
[src]

Return the current monotonic system time in microseconds.

Note, if such a clock is not available then this will actually fall back to the wallclock time instead. No indication is available for whether or not this is the case, and the return value is still a MonotonicTs type.

Trait Implementations

impl Copy for MonotonicTs
[src]

impl Clone for MonotonicTs
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MonotonicTs
[src]

Formats the value using the given formatter. Read more

impl Default for MonotonicTs
[src]

Returns the "default value" for a type. Read more

impl Eq for MonotonicTs
[src]

impl PartialEq for MonotonicTs
[src]

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

This method tests for !=.

impl Ord for MonotonicTs
[src]

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

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialOrd for MonotonicTs
[src]

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

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

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

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

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

impl Add<MicroSeconds> for MonotonicTs
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl AddAssign<MicroSeconds> for MonotonicTs
[src]

Performs the += operation.

impl Sub<MicroSeconds> for MonotonicTs
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl SubAssign<MicroSeconds> for MonotonicTs
[src]

Performs the -= operation.

impl Display for MonotonicTs
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for MonotonicTs

impl Sync for MonotonicTs