Skip to main content

EditorResult

Type Alias EditorResult 

Source
pub type EditorResult<T> = Result<T, EditorError>;
Expand description

Core buffer, syntax, movement, and hook primitives. Specialized Result type for editor operations.

Aliased Type§

pub enum EditorResult<T> {
    Ok(T),
    Err(EditorError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(EditorError)

Contains the error value