pub enum PlaybackError<E> {
State(E),
Incompatible,
InvalidTarget,
NotStarted,
Ended,
Seeking,
Faulted,
Desync {
tick: u64,
expected: u64,
actual: u64,
},
}Variants§
State(E)
Incompatible
InvalidTarget
NotStarted
Ended
Seeking
Faulted
Desync
Use Playback::first_mismatch to distinguish state and input checksums.
Trait Implementations§
Source§impl<E> Clone for PlaybackError<E>where
E: Clone,
impl<E> Clone for PlaybackError<E>where
E: Clone,
Source§fn clone(&self) -> PlaybackError<E>
fn clone(&self) -> PlaybackError<E>
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<E> Debug for PlaybackError<E>where
E: Debug,
impl<E> Debug for PlaybackError<E>where
E: Debug,
Source§impl<E> PartialEq for PlaybackError<E>where
E: PartialEq,
impl<E> PartialEq for PlaybackError<E>where
E: PartialEq,
impl<E> Eq for PlaybackError<E>where
E: Eq,
impl<E> StructuralPartialEq for PlaybackError<E>
Auto Trait Implementations§
impl<E> Freeze for PlaybackError<E>where
E: Freeze,
impl<E> RefUnwindSafe for PlaybackError<E>where
E: RefUnwindSafe,
impl<E> Send for PlaybackError<E>where
E: Send,
impl<E> Sync for PlaybackError<E>where
E: Sync,
impl<E> Unpin for PlaybackError<E>where
E: Unpin,
impl<E> UnwindSafe for PlaybackError<E>where
E: UnwindSafe,
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