#[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§
impl<T: Send> Send for WireBox<'_, T>
impl<T: Sync> Sync for WireBox<'_, T>
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> 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