[][src]Struct rsocket_rust::frame::Frame

pub struct Frame { /* fields omitted */ }

Methods

impl Frame[src]

pub fn new(stream_id: u32, body: Body, flag: u16) -> Frame[src]

pub fn decode(b: &mut BytesMut) -> RSocketResult<Frame>[src]

pub fn get_body(self) -> Body[src]

pub fn get_frame_type(&self) -> u16[src]

pub fn get_flag(&self) -> u16[src]

pub fn get_stream_id(&self) -> u32[src]

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

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

Trait Implementations

impl Writeable for Frame[src]

impl Debug for Frame[src]

Auto Trait Implementations

impl Unpin for Frame

impl Sync for Frame

impl Send for Frame

impl UnwindSafe for Frame

impl RefUnwindSafe for Frame

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<T> Erased for T