pub enum PreprocessResult {
Bytes(Vec<u8>),
Failed {
stderr: String,
},
}Variants§
Bytes(Vec<u8>)
Command succeeded; use these bytes as the source.
Failed
Command failed (non-zero exit, empty output, or spawn error). The caller should fall back to the raw file and surface the stderr.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PreprocessResult
impl RefUnwindSafe for PreprocessResult
impl Send for PreprocessResult
impl Sync for PreprocessResult
impl Unpin for PreprocessResult
impl UnsafeUnpin for PreprocessResult
impl UnwindSafe for PreprocessResult
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