#[repr(C)]pub struct FfiMergeResult {
pub text: *mut c_char,
pub state: *mut u8,
pub state_len: usize,
pub error: *mut c_char,
}Expand description
Result of agent_doc_crdt_merge.
Fields§
§text: *mut c_charMerged document text, or null on error. Free with agent_doc_free_string.
state: *mut u8Updated CRDT state bytes (caller must copy). Null on error.
state_len: usizeLength of state in bytes.
error: *mut c_charError message if text is null. Free with agent_doc_free_string.
Auto Trait Implementations§
impl Freeze for FfiMergeResult
impl RefUnwindSafe for FfiMergeResult
impl !Send for FfiMergeResult
impl !Sync for FfiMergeResult
impl Unpin for FfiMergeResult
impl UnsafeUnpin for FfiMergeResult
impl UnwindSafe for FfiMergeResult
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