Skip to main content

LayoutResult

Type Alias LayoutResult 

Source
pub type LayoutResult = Result<(Vec<PaneId>, Vec<Box<dyn PtyBackend>>)>;
Expand description

Pane IDs + extracted PTY backends that the caller must close outside the lock.

Aliased Type§

pub enum LayoutResult {
    Ok((Vec<String>, Vec<Box<dyn PtyBackend>>)),
    Err(Error),
}

Variants§

§1.0.0

Ok((Vec<String>, Vec<Box<dyn PtyBackend>>))

Contains the success value

§1.0.0

Err(Error)

Contains the error value