pub enum StreamSpecVersion {
MaxInFilelists,
Current,
ChangeNumber(u32),
}Expand description
The --use-stream-change value controlling which stream specification
version is used to generate the client view.
Variants§
MaxInFilelists
--use-stream-change with no value: the maximum change number in the
file list determines the stream spec version.
Current
--use-stream-change=0: use the current stream spec version.
ChangeNumber(u32)
--use-stream-change=N: use the stream spec version at or before
change N.
Implementations§
Source§impl StreamSpecVersion
impl StreamSpecVersion
Sourcepub fn max_in_filelists() -> Self
pub fn max_in_filelists() -> Self
--use-stream-change with no value: the maximum change number in the
file list determines the stream spec version.
Sourcepub fn at_change(n: u32) -> Self
pub fn at_change(n: u32) -> Self
--use-stream-change=N: use the stream spec version at or before
change n.
Sourcepub fn inject_arg(&self, command: &mut Command)
pub fn inject_arg(&self, command: &mut Command)
Injects the --use-stream-change argument(s) into command.
Trait Implementations§
Source§impl Clone for StreamSpecVersion
impl Clone for StreamSpecVersion
impl Copy for StreamSpecVersion
Auto Trait Implementations§
impl Freeze for StreamSpecVersion
impl RefUnwindSafe for StreamSpecVersion
impl Send for StreamSpecVersion
impl Sync for StreamSpecVersion
impl Unpin for StreamSpecVersion
impl UnsafeUnpin for StreamSpecVersion
impl UnwindSafe for StreamSpecVersion
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