pub enum PluginPlaybackError {
Show 19 variants
InvalidPlanFingerprint,
InvalidCorrelationId {
field: &'static str,
limit: usize,
},
ZeroCorrelationValue {
field: &'static str,
},
PlanFingerprintMismatch,
SessionMismatch,
SessionGenerationMismatch {
expected: u64,
actual: u64,
},
ItemMismatch,
SourceRevisionMismatch {
expected: u64,
actual: u64,
},
PlaybackGenerationNotAdvanced {
previous: u64,
actual: u64,
},
ActiveSlotOccupied,
NextPrewarmSlotOccupied,
ActiveSlotMissing,
NextPrewarmSlotMissing,
TransitionBusy,
AttachmentTokenExhausted,
RuntimeShuttingDown,
StaleAttachment {
role: PluginPlaybackRole,
},
NextPrewarmCannotCommit {
authority: PluginPlaybackAuthority,
},
Scope(PluginScopeError),
}Variants§
InvalidPlanFingerprint
InvalidCorrelationId
ZeroCorrelationValue
PlanFingerprintMismatch
SessionMismatch
SessionGenerationMismatch
ItemMismatch
SourceRevisionMismatch
PlaybackGenerationNotAdvanced
ActiveSlotOccupied
NextPrewarmSlotOccupied
ActiveSlotMissing
NextPrewarmSlotMissing
TransitionBusy
AttachmentTokenExhausted
RuntimeShuttingDown
StaleAttachment
Fields
§
role: PluginPlaybackRoleNextPrewarmCannotCommit
Fields
Scope(PluginScopeError)
Trait Implementations§
Source§impl Clone for PluginPlaybackError
impl Clone for PluginPlaybackError
Source§fn clone(&self) -> PluginPlaybackError
fn clone(&self) -> PluginPlaybackError
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 moreSource§impl Debug for PluginPlaybackError
impl Debug for PluginPlaybackError
Source§impl Display for PluginPlaybackError
impl Display for PluginPlaybackError
impl Eq for PluginPlaybackError
Source§impl Error for PluginPlaybackError
impl Error for PluginPlaybackError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<PluginScopeError> for PluginPlaybackError
impl From<PluginScopeError> for PluginPlaybackError
Source§fn from(source: PluginScopeError) -> Self
fn from(source: PluginScopeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PluginPlaybackError
impl PartialEq for PluginPlaybackError
impl StructuralPartialEq for PluginPlaybackError
Auto Trait Implementations§
impl Freeze for PluginPlaybackError
impl RefUnwindSafe for PluginPlaybackError
impl Send for PluginPlaybackError
impl Sync for PluginPlaybackError
impl Unpin for PluginPlaybackError
impl UnsafeUnpin for PluginPlaybackError
impl UnwindSafe for PluginPlaybackError
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