#[repr(C)]pub struct WireTable<'de> { /* private fields */ }
Expand description
A FIDL table
Implementations§
Source§impl WireTable<'static>
impl WireTable<'static>
Sourcepub fn encode_len(out: &mut MaybeUninit<Self>, len: usize)
pub fn encode_len(out: &mut MaybeUninit<Self>, len: usize)
Encodes that a table contains len
values in a slot.
Sourcepub fn decode_with<D: Decoder + ?Sized>(
slot: Slot<'_, Self>,
decoder: &mut D,
f: impl Fn(i64, Slot<'_, WireEnvelope>, &mut D) -> Result<(), DecodeError>,
) -> Result<(), DecodeError>
pub fn decode_with<D: Decoder + ?Sized>( slot: Slot<'_, Self>, decoder: &mut D, f: impl Fn(i64, Slot<'_, WireEnvelope>, &mut D) -> Result<(), DecodeError>, ) -> Result<(), DecodeError>
Decodes the fields of the table with a decoding function.
The decoding function receives the ordinal of the field, its slot, and the decoder.
Trait Implementations§
Auto Trait Implementations§
impl<'de> Freeze for WireTable<'de>
impl<'de> RefUnwindSafe for WireTable<'de>
impl<'de> !Send for WireTable<'de>
impl<'de> !Sync for WireTable<'de>
impl<'de> Unpin for WireTable<'de>
impl<'de> !UnwindSafe for WireTable<'de>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more