pub struct Details { /* private fields */ }Expand description
Bounded key/value metadata attached to a KhiveError (max 8 pairs).
Stored as Cow<'static, str> pairs: zero-alloc for static string literals
(the common construction path) and owned strings on deserialization (no
memory leak). Both paths are no_std + alloc compatible.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Details
Available on crate feature serde only.
impl<'de> Deserialize<'de> for Details
Available on crate feature
serde only.Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Details
impl StructuralPartialEq for Details
Auto Trait Implementations§
impl Freeze for Details
impl RefUnwindSafe for Details
impl Send for Details
impl Sync for Details
impl Unpin for Details
impl UnsafeUnpin for Details
impl UnwindSafe for Details
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more