pub struct NativeHost { /* private fields */ }Implementations§
Source§impl NativeHost
impl NativeHost
Sourcepub fn ir(&self) -> &WarbleIr
pub fn ir(&self) -> &WarbleIr
The same immutable typed snapshot that was validated and hashed during preparation. Native emission must use this snapshot rather than reopening a mutable IR file.
Sourcepub fn prepare(
raw_ir: &str,
raw_descriptor: &str,
target: &str,
purpose: NativePurpose,
scope: &NativeSessionScope,
) -> Result<Self, DispatchError>
pub fn prepare( raw_ir: &str, raw_descriptor: &str, target: &str, purpose: NativePurpose, scope: &NativeSessionScope, ) -> Result<Self, DispatchError>
Prepare all admitted roots from the original bytes. No edge is removed or lowered into a native subagent; direct-session v2 preserves the complete governed closure.
Trait Implementations§
Source§impl Clone for NativeHost
impl Clone for NativeHost
Auto Trait Implementations§
impl Freeze for NativeHost
impl RefUnwindSafe for NativeHost
impl Send for NativeHost
impl Sync for NativeHost
impl Unpin for NativeHost
impl UnsafeUnpin for NativeHost
impl UnwindSafe for NativeHost
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