[−][src]Struct aeron_rs::protocol::header_flyweight::HeaderFlyweight
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
impl RefUnwindSafe for HeaderFlyweight
impl !Send for HeaderFlyweight
impl !Sync for HeaderFlyweight
impl Unpin for HeaderFlyweight
impl UnwindSafe for HeaderFlyweight
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,