Struct tvm::function::ffi::TVMByteArray [−][src]
Expand description
\brief Byte array type used to pass in byte array When kTVMBytes is used as data type.
Fields
data: *const i8
size: u64
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Error = ValueDowncastError
type Error = ValueDowncastError
The type returned in the event of a conversion error.
pub fn try_from(
val: RetValue
) -> Result<TVMByteArray, <TVMByteArray as TryFrom<RetValue>>::Error>
pub fn try_from(
val: RetValue
) -> Result<TVMByteArray, <TVMByteArray as TryFrom<RetValue>>::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TVMByteArray
impl !Send for TVMByteArray
impl !Sync for TVMByteArray
impl Unpin for TVMByteArray
impl UnwindSafe for TVMByteArray
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more