pub enum GateState {
Fresh,
Stale,
Lost,
}Expand description
The freshness of one offloaded stream (a detection/target stream, or a pose stream), derived from the last result’s age and the link state.
Variants§
Fresh
A result arrived within the budget and the link is up: usable.
Stale
A result arrived but it is older than the budget: not usable (stop).
Lost
No result yet, or the link is down: not usable (stop).
Implementations§
Trait Implementations§
impl Copy for GateState
Source§impl<'de> Deserialize<'de> for GateState
impl<'de> Deserialize<'de> for GateState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GateState
impl StructuralPartialEq for GateState
Auto Trait Implementations§
impl Freeze for GateState
impl RefUnwindSafe for GateState
impl Send for GateState
impl Sync for GateState
impl Unpin for GateState
impl UnsafeUnpin for GateState
impl UnwindSafe for GateState
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