#[repr(C)]pub struct WireBox<'buf, T> { /* private fields */ }
Expand description
A boxed (optional) FIDL value.
Implementations§
source§impl<T> WireBox<'_, T>
impl<T> WireBox<'_, T>
sourcepub fn encode_present(slot: Slot<'_, Self>)
pub fn encode_present(slot: Slot<'_, Self>)
Encodes that a value is present in a slot.
sourcepub fn encode_absent(slot: Slot<'_, Self>)
pub fn encode_absent(slot: Slot<'_, Self>)
Encodes that a value is absent in a slot.
Trait Implementations§
Auto Trait Implementations§
impl<'buf, T> Freeze for WireBox<'buf, T>
impl<'buf, T> RefUnwindSafe for WireBox<'buf, T>where
T: RefUnwindSafe,
impl<'buf, T> !Send for WireBox<'buf, T>
impl<'buf, T> !Sync for WireBox<'buf, T>
impl<'buf, T> Unpin for WireBox<'buf, T>
impl<'buf, T> !UnwindSafe for WireBox<'buf, T>
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