pub enum GarbageCollectorError {
LockError,
JoinError,
}
Expand description
Errors that may be emitted when stopping the GC
Variants§
LockError
Emitted if the GC thread panicked during a GC run
JoinError
Emitted if the GC thread panicked at another point
Trait Implementations§
source§impl Debug for GarbageCollectorError
impl Debug for GarbageCollectorError
source§impl Display for GarbageCollectorError
impl Display for GarbageCollectorError
source§impl Error for GarbageCollectorError
impl Error for GarbageCollectorError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()