Struct eds::Reader[][src]

pub struct Reader { /* fields omitted */ }

接收器

Implementations

impl Reader[src]

pub const fn new() -> Self[src]

创建一个空的接收器

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

接收器是否为空

pub fn recv(&mut self, buf: &[u8])[src]

接收数据并找出一个数据帧,返回负载数据

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

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

pub fn get_load(&self) -> &[u8][src]

Auto Trait Implementations

impl Send for Reader

impl Sync for Reader

impl Unpin for Reader

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.