pub struct Claim<'a, D> { /* private fields */ }Expand description
What a claim cleanup registered with
PluginBuilder::on_claim gets: the claimed
user and the claim’s transaction. Every query on db commits or rolls back
with the claim.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, D> !RefUnwindSafe for Claim<'a, D>
impl<'a, D> !UnwindSafe for Claim<'a, D>
impl<'a, D> Forget for Claim<'a, D>
impl<'a, D> Freeze for Claim<'a, D>
impl<'a, D> Move for Claim<'a, D>
impl<'a, D> Send for Claim<'a, D>
impl<'a, D> Sync for Claim<'a, D>
impl<'a, D> Unpin for Claim<'a, D>
impl<'a, D> UnsafeUnpin for Claim<'a, D>
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