pub struct Tee { /* private fields */ }
Expand description
Duplicate pipe content, equivalent to tee(2)
.
Implementations§
source§impl Tee
impl Tee
pub fn new(fd_in: impl UseFixed, fd_out: impl UseFixed, len: u32) -> Self
sourcepub const CODE: u8 = 33u8
pub const CODE: u8 = 33u8
The opcode of the operation. This can be passed to
Probe::is_supported
to check if this operation is
supported with the current kernel.
pub const fn flags(self, flags: u32) -> Self
pub fn build(self) -> Entry
Auto Trait Implementations§
impl Freeze for Tee
impl RefUnwindSafe for Tee
impl Send for Tee
impl Sync for Tee
impl Unpin for Tee
impl UnwindSafe for Tee
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