pub enum PluginScopeError {
InvalidTransition {
kind: PluginScopeKind,
state: PluginScopeState,
},
Terminal {
kind: PluginScopeKind,
state: PluginScopeState,
},
Busy,
InvalidFailureReason {
limit: usize,
},
CapacityExceeded {
resource: PluginScopeResource,
limit: usize,
},
OwnerTokenExhausted,
InvalidCloseTimeout,
}Variants§
InvalidTransition
Terminal
Busy
InvalidFailureReason
CapacityExceeded
OwnerTokenExhausted
InvalidCloseTimeout
Trait Implementations§
Source§impl Clone for PluginScopeError
impl Clone for PluginScopeError
Source§fn clone(&self) -> PluginScopeError
fn clone(&self) -> PluginScopeError
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 PluginScopeError
impl Debug for PluginScopeError
Source§impl Display for PluginScopeError
impl Display for PluginScopeError
impl Eq for PluginScopeError
Source§impl Error for PluginScopeError
impl Error for PluginScopeError
1.30.0 · 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 PluginScopeError
impl PartialEq for PluginScopeError
impl StructuralPartialEq for PluginScopeError
Auto Trait Implementations§
impl Freeze for PluginScopeError
impl RefUnwindSafe for PluginScopeError
impl Send for PluginScopeError
impl Sync for PluginScopeError
impl Unpin for PluginScopeError
impl UnsafeUnpin for PluginScopeError
impl UnwindSafe for PluginScopeError
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