pub enum DataVal<'a> {
String(&'a [u8]),
Integral(Vec<u8>),
}
Expand description
Differnet ways the value of a data segment can be defined.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DataVal<'a>
impl<'a> Send for DataVal<'a>
impl<'a> Sync for DataVal<'a>
impl<'a> Unpin for DataVal<'a>
impl<'a> UnwindSafe for DataVal<'a>
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