pub enum SymbolSnapshotError {
MissingSymbol {
id: u32,
},
EntryLimit {
requested: usize,
limit: usize,
},
ByteLimit {
limit: usize,
},
RegistryPoisoned,
}Expand description
A complete symbol snapshot could not be admitted within its caller’s bounds.
Variants§
MissingSymbol
A requested ID is absent from the locked registry state.
EntryLimit
The request contains too many entries, including duplicates.
ByteLimit
Accepted text would exceed the UTF-8 byte budget.
RegistryPoisoned
A writer previously panicked while holding the registry lock.
Trait Implementations§
Source§impl Clone for SymbolSnapshotError
impl Clone for SymbolSnapshotError
Source§fn clone(&self) -> SymbolSnapshotError
fn clone(&self) -> SymbolSnapshotError
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 SymbolSnapshotError
impl Debug for SymbolSnapshotError
Source§impl Display for SymbolSnapshotError
impl Display for SymbolSnapshotError
impl Eq for SymbolSnapshotError
Source§impl Error for SymbolSnapshotError
impl Error for SymbolSnapshotError
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 PartialEq for SymbolSnapshotError
impl PartialEq for SymbolSnapshotError
impl StructuralPartialEq for SymbolSnapshotError
Auto Trait Implementations§
impl Freeze for SymbolSnapshotError
impl RefUnwindSafe for SymbolSnapshotError
impl Send for SymbolSnapshotError
impl Sync for SymbolSnapshotError
impl Unpin for SymbolSnapshotError
impl UnsafeUnpin for SymbolSnapshotError
impl UnwindSafe for SymbolSnapshotError
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more