Crate collar

Crate collar 

Source
Expand description

provides collect_array and try_from_fn. allowing easy vec-free collection to an array.

use collar::*;
let Some([ty, path, http]) = request.split(' ').collect_array_checked() else {
    return;
};

Re-exports§

pub use core::array::from_fn;

Structs§

CollectorError
This error is returned by try_collect_array

Traits§

CollectArray
Collect to an array.

Functions§

try_from_fn
[std::array::try_from_fn] on stable.