Struct jsonrpsee_core::server::resource_limiting::ResourceGuard
source · pub struct ResourceGuard { /* private fields */ }
Available on crate feature
server
only.Expand description
RAII style “lock” for claimed resources, will automatically release them once dropped.
Trait Implementations§
source§impl Debug for ResourceGuard
impl Debug for ResourceGuard
Auto Trait Implementations§
impl !RefUnwindSafe for ResourceGuard
impl Send for ResourceGuard
impl Sync for ResourceGuard
impl Unpin for ResourceGuard
impl !UnwindSafe for ResourceGuard
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