pub enum BoxValue {
Text(String),
Bytes(Vec<u8>),
Structured(StructuredData),
}Expand description
A value returned from a box decoder.
Decoders may return either a human-readable text summary, raw bytes, or structured data.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BoxValue
impl RefUnwindSafe for BoxValue
impl Send for BoxValue
impl Sync for BoxValue
impl Unpin for BoxValue
impl UnwindSafe for BoxValue
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)