pub type SingletonMutexWriteResult<T> = Result<SingletonGuard<MappedMutexGuard<'static, T>>, PoisonError<MutexGuard<'static, LazyLock<T>>>>;Aliased Type§
pub enum SingletonMutexWriteResult<T> {
Ok(SingletonGuard<MappedMutexGuard<'static, T>>),
Err(PoisonError<MutexGuard<'static, LazyLock<T>>>),
}Variants§
Ok(SingletonGuard<MappedMutexGuard<'static, T>>)
Contains the success value
Err(PoisonError<MutexGuard<'static, LazyLock<T>>>)
Contains the error value