pub struct Patch {
pub table: JumpTable,
pub dylib_bytes: Arc<Vec<u8>>,
}Expand description
Cheap-to-clone broadcast payload. The dylib bytes are held by
Arc so cloning into each subscribed client’s receive queue is
just a refcount bump.
Fields§
§table: JumpTableThe address-map metadata. Serialized as JSON in the binary frame’s prefix.
dylib_bytes: Arc<Vec<u8>>Raw patch dylib bytes. Streamed verbatim after the JSON
prefix; the device writes them to disk and dlopens the
resulting file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Patch
impl RefUnwindSafe for Patch
impl Send for Patch
impl Sync for Patch
impl Unpin for Patch
impl UnsafeUnpin for Patch
impl UnwindSafe for Patch
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