pub type AllocResult<T = ()> = Result<T, AllocError>;

Layout

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.