#[repr(C)]pub struct WireFileObject {
pub event: WireOptionalEvent,
pub stream: WireOptionalStream,
}
Expand description
The wire type corresponding to FileObject
.
Fields§
§event: WireOptionalEvent
§stream: WireOptionalStream
Trait Implementations§
Source§impl Debug for WireFileObject
impl Debug for WireFileObject
Source§impl<___D> Decode<___D> for WireFileObjectwhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for WireFileObjectwhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
Source§impl FromWire<WireFileObject> for FileObject
impl FromWire<WireFileObject> for FileObject
Source§const COPY_OPTIMIZATION: CopyOptimization<WireFileObject, Self>
const COPY_OPTIMIZATION: CopyOptimization<WireFileObject, Self>
Source§fn from_wire(wire: WireFileObject) -> Self
fn from_wire(wire: WireFileObject) -> Self
Converts the given
wire
to this type.Source§impl IntoNatural for WireFileObject
impl IntoNatural for WireFileObject
Source§type Natural = FileObject
type Natural = FileObject
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl Wire for WireFileObject
impl Wire for WireFileObject
Source§type Decoded<'de> = WireFileObject
type Decoded<'de> = WireFileObject
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 WireFileObject
impl RefUnwindSafe for WireFileObject
impl Send for WireFileObject
impl Sync for WireFileObject
impl Unpin for WireFileObject
impl UnwindSafe for WireFileObject
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T
to [Self
]