Struct async_named_locker::Locker
source · pub struct Locker { /* private fields */ }Implementations§
source§impl Locker
impl Locker
pub async fn get_locker<T: IntoString>(locker_id: T) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Locker
impl Send for Locker
impl Sync for Locker
impl Unpin for Locker
impl UnwindSafe for Locker
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