pub struct Stream<S = Unselected> { /* private fields */ }Expand description
The stream form: p4 copy -S stream [-Af | -As] [-P parent] [-F] [-r] [toFile[rev] ...].
Uses a generated branch view that maps the stream to its parent and copies
from a stream to its parent.
The S type parameter tracks whether -Af (files only) or -As (stream spec only) has been supplied: Unselected copies both; CopyFilesOnly copies only the files; CopyStreamSpecOnly copies only the stream spec.
Trait Implementations§
impl<S: Eq> Eq for Stream<S>
Source§impl ExclusiveOption for Stream<Unselected>
impl ExclusiveOption for Stream<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 Stream<CopyFilesOnly>
Available on non-crate feature lt2020_2 only.
impl ExclusiveOption for Stream<CopyFilesOnly>
Available on non-crate feature
lt2020_2 only.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 Stream<CopyStreamSpecOnly>
Available on non-crate feature lt2020_2 only.
impl ExclusiveOption for Stream<CopyStreamSpecOnly>
Available on non-crate feature
lt2020_2 only.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<S: PartialEq> StructuralPartialEq for Stream<S>
Auto Trait Implementations§
impl<S> Freeze for Stream<S>where
S: Freeze,
impl<S> RefUnwindSafe for Stream<S>where
S: RefUnwindSafe,
impl<S> Send for Stream<S>where
S: Send,
impl<S> Sync for Stream<S>where
S: Sync,
impl<S> Unpin for Stream<S>where
S: Unpin,
impl<S> UnsafeUnpin for Stream<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Stream<S>where
S: 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