#[repr(C)]pub struct WireBuffer {
pub vmo: WireHandle,
pub size: WireU64,
}
Expand description
The wire type corresponding to Buffer
.
Fields§
§vmo: WireHandle
§size: WireU64
Trait Implementations§
Source§impl Debug for WireBuffer
impl Debug for WireBuffer
Source§impl<___D> Decode<___D> for WireBufferwhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for WireBufferwhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
Source§impl FromWire<WireBuffer> for Buffer
impl FromWire<WireBuffer> for Buffer
Source§fn from_wire(wire: WireBuffer) -> Self
fn from_wire(wire: WireBuffer) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl Wire for WireBuffer
impl Wire for WireBuffer
Source§type Decoded<'de> = WireBuffer
type Decoded<'de> = WireBuffer
The decoded wire type, restricted to the
'de
lifetime.Source§fn zero_padding(out: &mut MaybeUninit<Self>)
fn zero_padding(out: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for WireBuffer
impl RefUnwindSafe for WireBuffer
impl Send for WireBuffer
impl Sync for WireBuffer
impl Unpin for WireBuffer
impl UnwindSafe for WireBuffer
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