#[repr(C)]pub struct TLExecutionResult {
pub output_data: *mut c_char,
pub error_message: *mut c_char,
pub execution_time_us: u64,
}Expand description
FFI-compatible result type for execution
Fields§
§output_data: *mut c_charThe execution output as JSON string (NULL on error)
error_message: *mut c_charError message (NULL on success)
execution_time_us: u64Execution time in microseconds
Auto Trait Implementations§
impl Freeze for TLExecutionResult
impl RefUnwindSafe for TLExecutionResult
impl !Send for TLExecutionResult
impl !Sync for TLExecutionResult
impl Unpin for TLExecutionResult
impl UnwindSafe for TLExecutionResult
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more