pub struct InstructionResult {
pub id: Id,
pub value: InstructionResultValue,
}Fields§
§id: Id§value: InstructionResultValueImplementations§
Source§impl InstructionResult
impl InstructionResult
pub fn new(id: Id, value: InstructionResultValue) -> Self
pub fn ok(id: Id) -> Self
pub fn void(id: Id) -> Self
pub fn exception(id: Id, message: ExceptionMessage) -> Self
pub fn string(id: Id, string: String) -> Self
pub fn list(id: Id, values: Vec<InstructionResultValue>) -> Self
Trait Implementations§
Source§impl Debug for InstructionResult
impl Debug for InstructionResult
Source§impl FromSlimReader for InstructionResult
impl FromSlimReader for InstructionResult
fn from_reader(reader: &mut impl BufRead) -> Result<Self, FromSlimReaderError>
Source§impl PartialEq for InstructionResult
impl PartialEq for InstructionResult
Source§impl ToSlimString for InstructionResult
impl ToSlimString for InstructionResult
fn to_slim_string(&self) -> SlimString
impl Eq for InstructionResult
impl StructuralPartialEq for InstructionResult
Auto Trait Implementations§
impl Freeze for InstructionResult
impl RefUnwindSafe for InstructionResult
impl Send for InstructionResult
impl Sync for InstructionResult
impl Unpin for InstructionResult
impl UnwindSafe for InstructionResult
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