Searched refs:vec_try1_with_alloc_err (Results 1 – 2 of 2) sorted by relevance
107 kmr_wire::vec_try1_with_alloc_err($x1, || $crate::alloc_err!(1))
116 pub fn vec_try1_with_alloc_err<T: Clone, E>(x1: T, alloc_err: fn() -> E) -> Result<Vec<T>, E> { in vec_try1_with_alloc_err() function143 $crate::vec_try1_with_alloc_err($x1, || $crate::CborError::AllocationFailed)