#[repr(C)]pub struct FileObject {
pub event: WireOptionalEvent,
pub stream: WireOptionalStream,
}Expand description
The wire type corresponding to FileObject.
Fields§
§event: WireOptionalEvent§stream: WireOptionalStreamTrait Implementations§
Source§impl Debug for FileObject
impl Debug for FileObject
Source§impl<___D> Decode<___D> for FileObjectwhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for FileObjectwhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
Source§impl<___E> Encode<FileObject, ___E> for FileObjectwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<FileObject, ___E> for FileObjectwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, FileObject>
const COPY_OPTIMIZATION: CopyOptimization<Self, FileObject>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<FileObject>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<FileObject>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<___E, T0, T1> Encode<FileObject, ___E> for FileObject<T0, T1>where
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
T0: Encode<WireOptionalEvent, ___E>,
T1: Encode<WireOptionalStream, ___E>,
impl<___E, T0, T1> Encode<FileObject, ___E> for FileObject<T0, T1>where
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
T0: Encode<WireOptionalEvent, ___E>,
T1: Encode<WireOptionalStream, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<FileObject>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<FileObject>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl FromWire<FileObject> for FileObject
impl FromWire<FileObject> for FileObject
Source§const COPY_OPTIMIZATION: CopyOptimization<FileObject, Self>
const COPY_OPTIMIZATION: CopyOptimization<FileObject, Self>
Source§fn from_wire(wire: FileObject) -> Self
fn from_wire(wire: FileObject) -> Self
Converts the given
wire to this type.Source§impl IntoNatural for FileObject
impl IntoNatural for FileObject
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 FileObject
impl Wire for FileObject
Source§type Owned<'de> = FileObject
type Owned<'de> = FileObject
The owned 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.
impl Unconstrained for FileObject
Auto Trait Implementations§
impl Freeze for FileObject
impl RefUnwindSafe for FileObject
impl Send for FileObject
impl Sync for FileObject
impl Unpin for FileObject
impl UnwindSafe for FileObject
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
§impl<T> Constrained for Twhere
T: Unconstrained,
impl<T> Constrained for Twhere
T: Unconstrained,
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]