[][src]Struct fabric_contract::data::WireBuffer

pub struct WireBuffer {
    pub buffer: Option<Vec<u8>>,
    pub schema: TypeSchema,
}

Fields

buffer: Option<Vec<u8>>schema: TypeSchema

Implementations

impl WireBuffer[src]

pub fn new(buffer: Vec<u8>, schema: TypeSchema) -> Self[src]

pub fn new_unfilled(schema: TypeSchema) -> Self[src]

Trait Implementations

impl Debug for WireBuffer[src]

impl<'_> From<&'_ WireBuffer> for String[src]

impl<'_> From<&'_ WireBuffer> for i32[src]

impl<'_> From<&'_ WireBuffer> for u32[src]

impl WireBufferFromReturnType<()> for WireBuffer[src]

impl WireBufferFromReturnType<String> for WireBuffer[src]

impl WireBufferFromReturnType<bool> for WireBuffer[src]

impl WireBufferFromReturnType<f32> for WireBuffer[src]

impl WireBufferFromReturnType<f64> for WireBuffer[src]

impl WireBufferFromReturnType<i16> for WireBuffer[src]

impl WireBufferFromReturnType<i32> for WireBuffer[src]

impl WireBufferFromReturnType<i64> for WireBuffer[src]

impl WireBufferFromReturnType<i8> for WireBuffer[src]

impl WireBufferFromReturnType<isize> for WireBuffer[src]

impl WireBufferFromReturnType<u16> for WireBuffer[src]

impl WireBufferFromReturnType<u32> for WireBuffer[src]

impl WireBufferFromReturnType<u64> for WireBuffer[src]

impl WireBufferFromReturnType<u8> for WireBuffer[src]

impl WireBufferFromReturnType<usize> for WireBuffer[src]

Auto Trait Implementations

impl RefUnwindSafe for WireBuffer

impl Send for WireBuffer

impl Sync for WireBuffer

impl Unpin for WireBuffer

impl UnwindSafe for WireBuffer

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> From<T> for T[src]

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

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.