pub enum Output {
Paging(Child),
Normal(Stdout),
}Variants§
Paging(Child)
Paging output, along with a relative output handler process.
Normal(Stdout)
Normal output, along with stdout.
Implementations§
Source§impl Output
impl Output
pub fn new(option: &PagingOption) -> Output
Sourcepub fn get_handler(&mut self) -> &mut dyn Write
pub fn get_handler(&mut self) -> &mut dyn Write
Get output handler so user can write data.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
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