Lines Matching defs:T
46 elem: T, in vec_try_fill_with_alloc_err()
49 ) -> Result<Vec<T>, E> { in vec_try_fill_with_alloc_err()
59 x1: T, in vec_try4_with_alloc_err()
60 x2: T, in vec_try4_with_alloc_err()
61 x3: T, in vec_try4_with_alloc_err()
62 x4: T, in vec_try4_with_alloc_err()
64 ) -> Result<Vec<T>, E> { in vec_try4_with_alloc_err()
81 x1: T, in vec_try3_with_alloc_err()
82 x2: T, in vec_try3_with_alloc_err()
83 x3: T, in vec_try3_with_alloc_err()
85 ) -> Result<Vec<T>, E> { in vec_try3_with_alloc_err()
100 x1: T, in vec_try2_with_alloc_err()
101 x2: T, in vec_try2_with_alloc_err()
103 ) -> Result<Vec<T>, E> { in vec_try2_with_alloc_err()
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() argument
263 pub fn cbor_type_error<T>(value: &cbor::value::Value, want: &'static str) -> Result<T, CborError> { in cbor_type_error()