pub enum PatchContent<'a> {
Delete(Cow<'a, [u8]>),
Insert(Cow<'a, [u8]>),
Context(Cow<'a, [u8]>),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PatchContent<'a>
impl<'a> RefUnwindSafe for PatchContent<'a>
impl<'a> Send for PatchContent<'a>
impl<'a> Sync for PatchContent<'a>
impl<'a> Unpin for PatchContent<'a>
impl<'a> UnsafeUnpin for PatchContent<'a>
impl<'a> UnwindSafe for PatchContent<'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