Struct deadpool_sync::SyncGuard [−][src]
pub struct SyncGuard<'a, T: Send>(_);Expand description
This guard is returned when calling SyncWrapper::lock or
SyncWrapper::try_lock. This is basicly just a wrapper around
a MutexGuard but hides some implementation details.
Important: Any blocking operation using this object
should be executed on a separate thread (e.g. via spawn_blocking).