Lines Matching defs:CborError
25 pub enum CborError { enum
44 impl<T> From<ciborium::de::Error<T>> for CborError { implementation
58 impl<T> From<ciborium::ser::Error<T>> for CborError { implementation
64 impl core::fmt::Debug for CborError { implementation
80 pub fn cbor_type_error<T>(value: &Value, want: &'static str) -> Result<T, CborError> { in cbor_type_error() argument
98 pub fn read_to_value(mut slice: &[u8]) -> Result<Value, CborError> { in read_to_value() argument
112 fn from_cbor_value(value: Value) -> Result<Self, CborError>; in from_cbor_value() argument
115 fn to_cbor_value(self) -> Result<Value, CborError>; in to_cbor_value() argument
118 fn from_slice(slice: &[u8]) -> Result<Self, CborError> { in from_slice() argument
123 fn into_vec(self) -> Result<Vec<u8>, CborError> { in into_vec() argument
132 fn from_cbor_value(value: Value) -> Result<Self, CborError> { in from_cbor_value() argument
143 fn to_cbor_value(self) -> Result<Value, CborError> { in to_cbor_value() argument
152 fn from_cbor_value(value: Value) -> Result<Self, CborError> { in from_cbor_value() argument
161 fn to_cbor_value(self) -> Result<Value, CborError> { in to_cbor_value() argument
168 fn from_cbor_value(value: Value) -> Result<Self, CborError> { in from_cbor_value() argument
174 fn to_cbor_value(self) -> Result<Value, CborError> { in to_cbor_value() argument
180 fn from_cbor_value(value: Value) -> Result<Self, CborError> { in from_cbor_value() argument
186 fn to_cbor_value(self) -> Result<Value, CborError> { in to_cbor_value() argument