pub enum EditedStreamCompression {
KeepSourceFilter,
AsAuthored,
}Expand description
How a save writes an edited stream whose base-revision value was
compressed with /FlateDecode (§7.4.4) and whose edited value carries
no filter.
Applies only to that case: untouched streams are copied as they were, an edited stream that still declares a filter is written as it is, and a stream with no base value (created by the session) is written as authored.
Variants§
KeepSourceFilter
Re-apply /FlateDecode (no predictor), keeping the producer’s
choice to compress. The default.
AsAuthored
Write the edited bytes unfiltered — larger, but readable in a text editor.
Trait Implementations§
Source§impl Clone for EditedStreamCompression
impl Clone for EditedStreamCompression
impl Copy for EditedStreamCompression
Source§impl Debug for EditedStreamCompression
impl Debug for EditedStreamCompression
Source§impl Default for EditedStreamCompression
impl Default for EditedStreamCompression
impl Eq for EditedStreamCompression
Source§impl PartialEq for EditedStreamCompression
impl PartialEq for EditedStreamCompression
impl StructuralPartialEq for EditedStreamCompression
Auto Trait Implementations§
impl Forget for EditedStreamCompression
impl Freeze for EditedStreamCompression
impl Move for EditedStreamCompression
impl RefUnwindSafe for EditedStreamCompression
impl Send for EditedStreamCompression
impl Sync for EditedStreamCompression
impl Unpin for EditedStreamCompression
impl UnsafeUnpin for EditedStreamCompression
impl UnwindSafe for EditedStreamCompression
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