pub enum JamSyncState {
WaitingForReference,
Locking,
Locked,
Holdover,
}Expand description
The synchronisation state of a JamSyncController.
Variants§
WaitingForReference
No reference has been received yet (or the controller was just reset).
Locking
Candidate frames are arriving and being evaluated; the controller has
not yet accumulated lock_threshold consecutive matching frames.
Locked
The controller is locked to the external reference.
Holdover
The reference has been lost; the local generator is free-running from the last locked position.
Trait Implementations§
Source§impl Clone for JamSyncState
impl Clone for JamSyncState
Source§fn clone(&self) -> JamSyncState
fn clone(&self) -> JamSyncState
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 moreSource§impl Debug for JamSyncState
impl Debug for JamSyncState
Source§impl PartialEq for JamSyncState
impl PartialEq for JamSyncState
impl Copy for JamSyncState
impl Eq for JamSyncState
impl StructuralPartialEq for JamSyncState
Auto Trait Implementations§
impl Freeze for JamSyncState
impl RefUnwindSafe for JamSyncState
impl Send for JamSyncState
impl Sync for JamSyncState
impl Unpin for JamSyncState
impl UnsafeUnpin for JamSyncState
impl UnwindSafe for JamSyncState
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