pub struct WaitTarget {
pub database: String,
pub user: String,
pub role: WaitRole,
}Expand description
The (database, user, role) triple a client is blocked on. Only
populated while the client is in ClientState::Waiting; cleared
on wakeup (whether the wake succeeds or times out).
Fields§
§database: String§user: String§role: WaitRoleTrait Implementations§
Source§impl Clone for WaitTarget
impl Clone for WaitTarget
Source§fn clone(&self) -> WaitTarget
fn clone(&self) -> WaitTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WaitTarget
impl RefUnwindSafe for WaitTarget
impl Send for WaitTarget
impl Sync for WaitTarget
impl Unpin for WaitTarget
impl UnsafeUnpin for WaitTarget
impl UnwindSafe for WaitTarget
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