[][src]Struct aeron_rs::protocol::header_flyweight::HeaderFlyweight

pub struct HeaderFlyweight {
    pub flyweight: Flyweight<HeaderDefn>,
}

Fields

flyweight: Flyweight<HeaderDefn>

Methods

impl HeaderFlyweight[src]

pub fn new(buffer: AtomicBuffer, offset: Index) -> Self[src]

pub fn frame_length(&self) -> i32[src]

pub fn version(&self) -> i8[src]

pub fn flags(&self) -> i8[src]

pub fn h_type(&self) -> i16[src]

pub fn set_frame_length(&mut self, value: i32)[src]

pub fn set_version(&mut self, value: i8)[src]

pub fn set_flags(&mut self, value: i8)[src]

pub fn set_h_type(&mut self, value: i16)[src]

pub const fn header_length() -> Index[src]

pub const HDR_TYPE_PAD: i32[src]

header type PAD

pub const HDR_TYPE_DATA: i32[src]

header type DATA

pub const HDR_TYPE_NAK: i32[src]

header type NAK

pub const HDR_TYPE_SM: i32[src]

header type SM

pub const HDR_TYPE_ERR: i32[src]

header type ERR

pub const HDR_TYPE_SETUP: i32[src]

header type SETUP

pub const HDR_TYPE_EXT: i32[src]

header type EXT

pub const CURRENT_VERSION: i8[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, 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.