pub enum DaemonOutput {
Null,
File(File),
}Expand description
Where a daemon’s stdout or stderr goes. Its stdin is always the null device.
Variants§
Null
Discard the stream.
File(File)
Write the stream to this file, typically a daemon log opened for append.
Trait Implementations§
Source§impl Debug for DaemonOutput
impl Debug for DaemonOutput
Auto Trait Implementations§
impl Freeze for DaemonOutput
impl RefUnwindSafe for DaemonOutput
impl Send for DaemonOutput
impl Sync for DaemonOutput
impl Unpin for DaemonOutput
impl UnsafeUnpin for DaemonOutput
impl UnwindSafe for DaemonOutput
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