Enum osc_address::OscTime [] [src]

pub enum OscTime {
    Now,
    At(AbsOscTime),
}

Time tag assigned to each OscBundle.

Variants

Indication to execute the bundle contents immediately upon receipt.

Execute the bundle contents at a specified time.

Methods

impl OscTime
[src]

Create a OSC time from seconds and a fraction of a second. In the special case that sec == 0 and frac == 1, this is to be interpreted as "now" or "immediately upon the time of message receipt."

Convert the OSC time tag into a type from the std::time library. If self == OscTime::now, it will return the current system time. Note that this can fail to unrepresentable times, in which case None is returned.

See AbsOscTime::as_system_time for more details.

Trait Implementations

impl Copy for OscTime
[src]

impl Clone for OscTime
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for OscTime
[src]

Formats the value using the given formatter.