pub enum WriteOp<'a, P: Packable + ?Sized> {
Value(Cow<'a, P>),
Cpy(&'a [u8], Range<usize>, Acc, Option<bool>),
}Variants§
Trait Implementations§
impl<'a, P: Packable + ?Sized> StructuralPartialEq for WriteOp<'a, P>
Auto Trait Implementations§
impl<'a, P> Freeze for WriteOp<'a, P>
impl<'a, P> RefUnwindSafe for WriteOp<'a, P>
impl<'a, P> Send for WriteOp<'a, P>
impl<'a, P> Sync for WriteOp<'a, P>
impl<'a, P> Unpin for WriteOp<'a, P>
impl<'a, P> UnwindSafe for WriteOp<'a, P>
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