Trait tentacli_traits::StreamReader

source ·
pub trait StreamReader {
    // Required method
    fn read_from<'life0, 'async_trait, R>(
        stream: &'life0 mut R
    ) -> Pin<Box<dyn Future<Output = Result<Self, FieldError>> + Send + 'async_trait>>
       where Self: Sized + 'async_trait,
             R: AsyncBufRead + Unpin + Send + 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn read_from<'life0, 'async_trait, R>( stream: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self, FieldError>> + Send + 'async_trait>>
where Self: Sized + 'async_trait, R: AsyncBufRead + Unpin + Send + 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

source§

impl StreamReader for f32

source§

fn read_from<'life0, 'async_trait, R>( stream: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self, FieldError>> + Send + 'async_trait>>
where Self: Sized + 'async_trait, R: AsyncBufRead + Unpin + Send + 'async_trait, 'life0: 'async_trait,

source§

impl StreamReader for f64

source§

fn read_from<'life0, 'async_trait, R>( stream: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self, FieldError>> + Send + 'async_trait>>
where Self: Sized + 'async_trait, R: AsyncBufRead + Unpin + Send + 'async_trait, 'life0: 'async_trait,

source§

impl StreamReader for i8

source§

fn read_from<'life0, 'async_trait, R>( stream: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self, FieldError>> + Send + 'async_trait>>
where Self: Sized + 'async_trait, R: AsyncBufRead + Unpin + Send + 'async_trait, 'life0: 'async_trait,

source§

impl StreamReader for i16

source§

fn read_from<'life0, 'async_trait, R>( stream: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self, FieldError>> + Send + 'async_trait>>
where Self: Sized + 'async_trait, R: AsyncBufRead + Unpin + Send + 'async_trait, 'life0: 'async_trait,

source§

impl StreamReader for i32

source§

fn read_from<'life0, 'async_trait, R>( stream: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self, FieldError>> + Send + 'async_trait>>
where Self: Sized + 'async_trait, R: AsyncBufRead + Unpin + Send + 'async_trait, 'life0: 'async_trait,

source§

impl StreamReader for i64

source§

fn read_from<'life0, 'async_trait, R>( stream: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self, FieldError>> + Send + 'async_trait>>
where Self: Sized + 'async_trait, R: AsyncBufRead + Unpin + Send + 'async_trait, 'life0: 'async_trait,

source§

impl StreamReader for u8

source§

fn read_from<'life0, 'async_trait, R>( stream: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self, FieldError>> + Send + 'async_trait>>
where Self: Sized + 'async_trait, R: AsyncBufRead + Unpin + Send + 'async_trait, 'life0: 'async_trait,

source§

impl StreamReader for u16

source§

fn read_from<'life0, 'async_trait, R>( stream: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self, FieldError>> + Send + 'async_trait>>
where Self: Sized + 'async_trait, R: AsyncBufRead + Unpin + Send + 'async_trait, 'life0: 'async_trait,

source§

impl StreamReader for u32

source§

fn read_from<'life0, 'async_trait, R>( stream: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self, FieldError>> + Send + 'async_trait>>
where Self: Sized + 'async_trait, R: AsyncBufRead + Unpin + Send + 'async_trait, 'life0: 'async_trait,

source§

impl StreamReader for u64

source§

fn read_from<'life0, 'async_trait, R>( stream: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self, FieldError>> + Send + 'async_trait>>
where Self: Sized + 'async_trait, R: AsyncBufRead + Unpin + Send + 'async_trait, 'life0: 'async_trait,

source§

impl StreamReader for String

source§

fn read_from<'life0, 'async_trait, R>( stream: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self, FieldError>> + Send + 'async_trait>>
where Self: Sized + 'async_trait, R: AsyncBufRead + Unpin + Send + 'async_trait, 'life0: 'async_trait,

source§

impl StreamReader for Vec<Realm>

source§

fn read_from<'life0, 'async_trait, R>( stream: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self, FieldError>> + Send + 'async_trait>>
where Self: Sized + 'async_trait, R: AsyncBufRead + Unpin + Send + 'async_trait, 'life0: 'async_trait,

source§

impl<const N: usize> StreamReader for [u8; N]

source§

fn read_from<'life0, 'async_trait, R>( stream: &'life0 mut R ) -> Pin<Box<dyn Future<Output = Result<Self, FieldError>> + Send + 'async_trait>>
where Self: Sized + 'async_trait, R: AsyncBufRead + Unpin + Send + 'async_trait, 'life0: 'async_trait,

Implementors§