[][src]Struct capnp::private::endian::WireValue

#[repr(C)]
pub struct WireValue<T> { /* fields omitted */ }

A value casted directly from a little-endian byte buffer. On big-endian processors, the bytes of the value need to be swapped upon reading and writing.

Methods

impl<T> WireValue<T> where
    T: Endian
[src]

Reads the value, swapping bytes on big-endian processors.

Writes the value, swapping bytes on big-endian processors.

Auto Trait Implementations

impl<T> Send for WireValue<T> where
    T: Send

impl<T> Sync for WireValue<T> where
    T: Sync

Blanket Implementations

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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