pub struct HookOutput {
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
}Expand description
Bytes the hooks of one event wrote while HookStdio::Capture was in effect.
When several hooks run for one event (configured hook.<name>.* entries, then the hooks
directory script), their output is appended in run order.
Fields§
§stdout: Vec<u8>Everything the hooks wrote to stdout.
stderr: Vec<u8>Everything the hooks wrote to stderr.
Implementations§
Trait Implementations§
Source§impl Clone for HookOutput
impl Clone for HookOutput
Source§impl Debug for HookOutput
impl Debug for HookOutput
Source§impl Default for HookOutput
impl Default for HookOutput
impl Eq for HookOutput
Source§impl PartialEq for HookOutput
impl PartialEq for HookOutput
impl StructuralPartialEq for HookOutput
Auto Trait Implementations§
impl Freeze for HookOutput
impl RefUnwindSafe for HookOutput
impl Send for HookOutput
impl Sync for HookOutput
impl Unpin for HookOutput
impl UnsafeUnpin for HookOutput
impl UnwindSafe for HookOutput
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