pub enum AssemblyPayload<'a> {
Full(&'a [u8]),
Delta(&'a [u8]),
}Expand description
Payload variant for Plugin::update_assembly.
Mirrors the proto UpdateAssemblyRequest.payload oneof. Full is
a fresh assembly snapshot; Delta is a delta edit list (decode
via molex’s serialize_edits / deserialize_edits pair).
Variants§
Full(&'a [u8])
Fresh assembly snapshot; replaces the plugin’s view.
Delta(&'a [u8])
Delta edit list; applied incrementally on top of the plugin’s current view.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for AssemblyPayload<'a>
impl<'a> Clone for AssemblyPayload<'a>
impl<'a> Copy for AssemblyPayload<'a>
Auto Trait Implementations§
impl<'a> Freeze for AssemblyPayload<'a>
impl<'a> RefUnwindSafe for AssemblyPayload<'a>
impl<'a> Send for AssemblyPayload<'a>
impl<'a> Sync for AssemblyPayload<'a>
impl<'a> Unpin for AssemblyPayload<'a>
impl<'a> UnsafeUnpin for AssemblyPayload<'a>
impl<'a> UnwindSafe for AssemblyPayload<'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