Skip to main content

TursoTryWithCapacityExt

Trait TursoTryWithCapacityExt 

Source
pub trait TursoTryWithCapacityExt: Sized {
    // Required method
    fn try_with_capacity_ext(capacity: usize) -> Result<Self, TryReserveError>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<K, V> TursoTryWithCapacityExt for HashMap<K, V>
where K: Eq + Hash,

Source§

impl<T: Ord> TursoTryWithCapacityExt for BinaryHeap<T>

Source§

impl<T> TursoTryWithCapacityExt for HashSet<T>
where T: Eq + Hash,

Source§

impl<T> TursoTryWithCapacityExt for Vec<T>

Available on non-nightly only.
Source§

impl<T> TursoTryWithCapacityExt for VecDeque<T>