pub type ABIResult<T> = Result<T, ResultMsg>;Aliased Type§
pub enum ABIResult<T> {
Ok(T),
Err(ResultMsg),
}Variants§
Trait Implementations§
Source§impl<'a, T: TryFromBytes<'a>> From<&'a mut RustFfiResult> for ABIResult<T>
impl<'a, T: TryFromBytes<'a>> From<&'a mut RustFfiResult> for ABIResult<T>
Source§fn from(value: &'a mut RustFfiResult) -> Self
fn from(value: &'a mut RustFfiResult) -> Self
Converts to this type from the input type.
Source§impl<T: Default> From<GoFfiResult> for ABIResult<T>
impl<T: Default> From<GoFfiResult> for ABIResult<T>
Source§fn from(value: GoFfiResult) -> Self
fn from(value: GoFfiResult) -> Self
Converts to this type from the input type.