[][src]Struct mynewt::libs::sensor_coap::oc_ep_hdr

#[repr(C, packed)]
pub struct oc_ep_hdr { pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>, }

Fields

_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>

Methods

impl oc_ep_hdr[src]

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

pub fn set_oe_type(&mut self, val: u8)[src]

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

pub fn set_oe_flags(&mut self, val: u8)[src]

pub fn new_bitfield_1(
    oe_type: u8,
    oe_flags: u8
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Default for oc_ep_hdr[src]

Auto Trait Implementations

impl Send for oc_ep_hdr

impl Sync for oc_ep_hdr

Blanket Implementations

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> From<T> for T[src]

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

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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