pub enum LockState {
Unlocked,
Locked(Motion),
Stale,
}Expand description
Whether a decoder is following a timecode source.
Variants§
Unlocked
No position has been decoded since creation or the last MtcDecoder::reset.
Locked(Motion)
The last position is recent. Holds the motion that produced it.
Stale
The last position is older than the stale limit, as when the source stops sending.
Trait Implementations§
impl Copy for LockState
impl Eq for LockState
impl StructuralPartialEq for LockState
Auto Trait Implementations§
impl Freeze for LockState
impl RefUnwindSafe for LockState
impl Send for LockState
impl Sync for LockState
impl Unpin for LockState
impl UnsafeUnpin for LockState
impl UnwindSafe for LockState
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