pub struct Scan<M = Unselected> { /* private fields */ }Expand description
The scan form.
p4 [g-opts] dbstat [-h][-f] {-a | dbtable ...}.
The M type parameter tracks the table selection: Unselected spawns
with a list of dbtable arguments; DisplayAllTables supplies -a and
spawns without arguments.
Trait Implementations§
impl<M: Eq> Eq for Scan<M>
Source§impl ExclusiveOption for Scan<Unselected>
impl ExclusiveOption for Scan<Unselected>
Source§fn inject_args(&self, command: &mut Command)
fn inject_args(&self, command: &mut Command)
Inject the CLI arguments corresponding to this selection into
command.Source§impl ExclusiveOption for Scan<DisplayAllTables>
impl ExclusiveOption for Scan<DisplayAllTables>
Source§fn inject_args(&self, command: &mut Command)
fn inject_args(&self, command: &mut Command)
Inject the CLI arguments corresponding to this selection into
command.impl<M: PartialEq> StructuralPartialEq for Scan<M>
Auto Trait Implementations§
impl<M> Freeze for Scan<M>where
M: Freeze,
impl<M> RefUnwindSafe for Scan<M>where
M: RefUnwindSafe,
impl<M> Send for Scan<M>where
M: Send,
impl<M> Sync for Scan<M>where
M: Sync,
impl<M> Unpin for Scan<M>where
M: Unpin,
impl<M> UnsafeUnpin for Scan<M>where
M: UnsafeUnpin,
impl<M> UnwindSafe for Scan<M>where
M: UnwindSafe,
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