[][src]Struct fluvio_dataplane_protocol::record::DefaultAsyncBuffer

pub struct DefaultAsyncBuffer(_);

Implementations

impl DefaultAsyncBuffer[src]

pub fn new(val: Option<Vec<u8>>) -> Self[src]

pub fn inner_value(self) -> Option<Vec<u8>>[src]

pub fn inner_value_ref(&self) -> &Option<Vec<u8>>[src]

pub fn len(&self) -> usize[src]

pub fn is_binary(&self) -> bool[src]

Check if value is binary content

pub fn describe(&self) -> String[src]

Describe value - return text, binary, or 0 bytes

Trait Implementations

impl AsyncBuffer for DefaultAsyncBuffer[src]

impl Debug for DefaultAsyncBuffer[src]

impl Decoder for DefaultAsyncBuffer[src]

impl Default for DefaultAsyncBuffer[src]

impl Display for DefaultAsyncBuffer[src]

impl Encoder for DefaultAsyncBuffer[src]

impl<'a> From<&'a [u8]> for DefaultAsyncBuffer[src]

impl From<String> for DefaultAsyncBuffer[src]

impl From<Vec<u8, Global>> for DefaultAsyncBuffer[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> 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> ToString for T where
    T: Display + ?Sized
[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.