Struct hdk::prelude::ExternIO[][src]

#[repr(transparent)]pub struct ExternIO(pub Vec<u8, Global>);

Implementations

impl ExternIO[src]

pub fn encode<I>(input: I) -> Result<ExternIO, SerializedBytesError> where
    I: Serialize + Debug
[src]

pub fn decode<O>(&self) -> Result<O, SerializedBytesError> where
    O: DeserializeOwned + Debug
[src]

pub fn into_vec(self) -> Vec<u8, Global>

Notable traits for Vec<u8, Global>

impl Write for Vec<u8, Global>
[src]

pub fn as_bytes(&self) -> &[u8]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

Trait Implementations

impl AsRef<[u8]> for ExternIO[src]

impl Clone for ExternIO[src]

impl Debug for ExternIO[src]

impl<'de> Deserialize<'de> for ExternIO[src]

impl Eq for ExternIO[src]

impl From<ExternIO> for PostCommitCallbackResult[src]

impl From<ExternIO> for ValidateLinkCallbackResult[src]

impl From<ExternIO> for ValidationPackageCallbackResult[src]

impl From<ExternIO> for ValidateCallbackResult[src]

impl From<ExternIO> for EntryDefsCallbackResult[src]

impl From<ExternIO> for InitCallbackResult[src]

impl From<ExternIO> for MigrateAgentCallbackResult[src]

impl From<ExternIO> for Vec<u8, Global>[src]

impl From<Vec<u8, Global>> for ExternIO[src]

impl PartialEq<ExternIO> for ExternIO[src]

impl Serialize for ExternIO[src]

impl StructuralEq for ExternIO[src]

impl StructuralPartialEq for ExternIO[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,