pub struct HostTimingInfo {
pub fno: usize,
pub datetime: DateTime<Utc>,
}Expand description
Timing information acquired on the host computer.
This can be considered the “least common denominator” of frame timing information, as it will always be present but is not necessarily as accurate as desired.
Fields§
§fno: usizeThe frame number as counted by the host.
This can deviate from the “real” frame number if the frames were dropped, as might happen if the computer was busy with a different task.
datetime: DateTime<Utc>The timestamp of the frame when it was acquired by the host.
This will be at least slightly delayed from the “real” frame timestamp by transmission delays. Furthermore, if the computer was busy during acquisition there may be additional, highly variable, delays.
Trait Implementations§
Source§impl Clone for HostTimingInfo
impl Clone for HostTimingInfo
Source§fn clone(&self) -> HostTimingInfo
fn clone(&self) -> HostTimingInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HostTimingInfo
impl RefUnwindSafe for HostTimingInfo
impl Send for HostTimingInfo
impl Sync for HostTimingInfo
impl Unpin for HostTimingInfo
impl UnsafeUnpin for HostTimingInfo
impl UnwindSafe for HostTimingInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more