pub enum CompressResult {
Compressed(String),
Fallback(String, Option<String>),
}Expand description
Result of compressing a source file
Variants§
Compressed(String)
Successfully compressed
Fallback(String, Option<String>)
Fell back to full content (with optional reason for stderr warning)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompressResult
impl RefUnwindSafe for CompressResult
impl Send for CompressResult
impl Sync for CompressResult
impl Unpin for CompressResult
impl UnwindSafe for CompressResult
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