pub struct ServerTimeAnchorUpdate {
pub projection: ServerTimeProjection,
pub captured_at: Instant,
}Expand description
One indivisible precise-anchor update captured at the transport boundary.
Keeping the projection and monotonic capture point together prevents a
caller from pairing an old server sample with a later Instant after
decryption or protobuf parsing has consumed additional time.
Fields§
§projection: ServerTimeProjection§captured_at: InstantTrait Implementations§
Source§impl Clone for ServerTimeAnchorUpdate
impl Clone for ServerTimeAnchorUpdate
Source§fn clone(&self) -> ServerTimeAnchorUpdate
fn clone(&self) -> ServerTimeAnchorUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ServerTimeAnchorUpdate
Auto Trait Implementations§
impl Freeze for ServerTimeAnchorUpdate
impl RefUnwindSafe for ServerTimeAnchorUpdate
impl Send for ServerTimeAnchorUpdate
impl Sync for ServerTimeAnchorUpdate
impl Unpin for ServerTimeAnchorUpdate
impl UnsafeUnpin for ServerTimeAnchorUpdate
impl UnwindSafe for ServerTimeAnchorUpdate
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