[go: up one dir, main page]

Skip to main content

CommentResult

Type Alias CommentResult 

Source
pub type CommentResult<T> = Result<T, CommentError>;
Expand description

Alias for comment results that may return a CommentError

Aliased Type§

pub enum CommentResult<T> {
    Ok(T),
    Err(CommentError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(CommentError)

Contains the error value