Struct pallet_contracts_uapi::ReturnCode
source · pub struct ReturnCode(/* private fields */);
Expand description
The raw return code returned by the host side.
Implementations§
Trait Implementations§
source§impl From<ReturnCode> for Option<u32>
impl From<ReturnCode> for Option<u32>
source§fn from(code: ReturnCode) -> Self
fn from(code: ReturnCode) -> Self
Converts to this type from the input type.
source§impl From<ReturnCode> for Result<(), ReturnErrorCode>
impl From<ReturnCode> for Result<(), ReturnErrorCode>
source§fn from(return_code: ReturnCode) -> Self
fn from(return_code: ReturnCode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ReturnCode
impl Send for ReturnCode
impl Sync for ReturnCode
impl Unpin for ReturnCode
impl UnwindSafe for ReturnCode
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