Struct pty_shell::PtyCallbackBuilder [] [src]

pub struct PtyCallbackBuilder(_);

Methods

impl PtyCallbackBuilder
[src]

fn new() -> Self

fn input<F>(self, handler: F) -> Self where F: FnMut(&[u8]) + 'static

fn output<F>(self, handler: F) -> Self where F: FnMut(&[u8]) + 'static

fn resize<F>(self, handler: F) -> Self where F: FnMut(&Winsize) + 'static

fn shutdown<F>(self, handler: F) -> Self where F: FnMut() + 'static

fn build(self) -> PtyCallbackData

Trait Implementations

impl Debug for PtyCallbackBuilder
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.