#[repr(C)]pub struct SpawnArgs {
pub memory_limit: u64,
pub exit_code: *mut i8,
pub content: *mut u8,
pub content_length: *mut u64,
}
Available on non-crate feature
simulator
and crate feature ckb2023
only.Fields§
§memory_limit: u64
§exit_code: *mut i8
§content: *mut u8
§content_length: *mut u64
Before calling spawn, content_length should be the length of content; After calling spawn, content_length will be the real size of the returned data.
Auto Trait Implementations§
impl RefUnwindSafe for SpawnArgs
impl !Send for SpawnArgs
impl !Sync for SpawnArgs
impl Unpin for SpawnArgs
impl UnwindSafe for SpawnArgs
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