Type Definition coca::Result

source · []
pub type Result<T> = Result<T, CapacityError>;
Expand description

A specialized Result type for operations on data structures with constant capacity.

This type is broadly used across coca for most operations which grow a data structure.

This type definition is generally used to avoid writing out CapacityError directly and is otherwise a direct mapping to core::result::Result.