pub struct SelectForSet<Strength, Modifier = Wait>(/* private fields */);Expand description
Builder state after for_update or for_share.
Strength is [ForUpdate] or [ForShare]; Modifier is [Wait],
[NoWait] or [SkipLocked]. Only nowait or skip_locked can follow,
once.
Trait Implementations§
impl<Strength, Modifier> ClauseAllowed<Source> for SelectForSet<Strength, Modifier>
impl<Strength: Copy, Modifier: Copy> Copy for SelectForSet<Strength, Modifier>
Source§impl<Strength, Modifier> ExecutableState for SelectForSet<Strength, Modifier>
impl<Strength, Modifier> ExecutableState for SelectForSet<Strength, Modifier>
Source§type Rows<R: RowCount> = ZeroOrMore
type Rows<R: RowCount> = ZeroOrMore
The row count of a query in this state whose selection alone has
RowCount R: R when the clauses so far
keep every row of the selection (FROM, JOIN, WHERE, ORDER BY), else
ZeroOrMore (LIMIT, OFFSET, a set
operation, or a statement other than SELECT).Auto Trait Implementations§
impl<Strength, Modifier> Freeze for SelectForSet<Strength, Modifier>
impl<Strength, Modifier> RefUnwindSafe for SelectForSet<Strength, Modifier>
impl<Strength, Modifier> Send for SelectForSet<Strength, Modifier>
impl<Strength, Modifier> Sync for SelectForSet<Strength, Modifier>
impl<Strength, Modifier> Unpin for SelectForSet<Strength, Modifier>
impl<Strength, Modifier> UnsafeUnpin for SelectForSet<Strength, Modifier>
impl<Strength, Modifier> UnwindSafe for SelectForSet<Strength, Modifier>
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