pub struct Handles {Show 27 fields
pub handle_handle: Handle,
pub process_handle: Process,
pub thread_handle: Thread,
pub vmo_handle: Vmo,
pub event_handle: Event,
pub port_handle: Port,
pub socket_handle: Socket,
pub eventpair_handle: EventPair,
pub job_handle: Job,
pub vmar_handle: Vmar,
pub fifo_handle: Fifo,
pub timer_handle: Timer,
pub nullable_handle_handle: Option<Handle>,
pub nullable_process_handle: Option<Process>,
pub nullable_thread_handle: Option<Thread>,
pub nullable_vmo_handle: Option<Vmo>,
pub nullable_channel_handle: Option<Channel>,
pub nullable_event_handle: Option<Event>,
pub nullable_port_handle: Option<Port>,
pub nullable_interrupt_handle: Option<Interrupt>,
pub nullable_log_handle: Option<DebugLog>,
pub nullable_socket_handle: Option<Socket>,
pub nullable_eventpair_handle: Option<EventPair>,
pub nullable_job_handle: Option<Job>,
pub nullable_vmar_handle: Option<Vmar>,
pub nullable_fifo_handle: Option<Fifo>,
pub nullable_timer_handle: Option<Timer>,
}
Fields§
§handle_handle: Handle
§process_handle: Process
§thread_handle: Thread
§vmo_handle: Vmo
§event_handle: Event
§port_handle: Port
§socket_handle: Socket
§eventpair_handle: EventPair
§job_handle: Job
§vmar_handle: Vmar
§fifo_handle: Fifo
§timer_handle: Timer
§nullable_handle_handle: Option<Handle>
§nullable_process_handle: Option<Process>
§nullable_thread_handle: Option<Thread>
§nullable_vmo_handle: Option<Vmo>
§nullable_channel_handle: Option<Channel>
§nullable_event_handle: Option<Event>
§nullable_port_handle: Option<Port>
§nullable_interrupt_handle: Option<Interrupt>
§nullable_log_handle: Option<DebugLog>
§nullable_socket_handle: Option<Socket>
§nullable_eventpair_handle: Option<EventPair>
§nullable_job_handle: Option<Job>
§nullable_vmar_handle: Option<Vmar>
§nullable_fifo_handle: Option<Fifo>
§nullable_timer_handle: Option<Timer>
Trait Implementations§
Source§impl Decode<Handles, DefaultFuchsiaResourceDialect> for Handles
impl Decode<Handles, DefaultFuchsiaResourceDialect> for Handles
Source§impl<T0: Encode<HandleType<Handle, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T1: Encode<HandleType<Process, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T2: Encode<HandleType<Thread, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T3: Encode<HandleType<Vmo, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T4: Encode<HandleType<Event, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T5: Encode<HandleType<Port, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T6: Encode<HandleType<Socket, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T7: Encode<HandleType<EventPair, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T8: Encode<HandleType<Job, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T9: Encode<HandleType<Vmar, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T10: Encode<HandleType<Fifo, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T11: Encode<HandleType<Timer, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T12: Encode<Optional<HandleType<Handle, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T13: Encode<Optional<HandleType<Process, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T14: Encode<Optional<HandleType<Thread, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T15: Encode<Optional<HandleType<Vmo, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T16: Encode<Optional<HandleType<Channel, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T17: Encode<Optional<HandleType<Event, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T18: Encode<Optional<HandleType<Port, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T19: Encode<Optional<HandleType<Interrupt, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T20: Encode<Optional<HandleType<DebugLog, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T21: Encode<Optional<HandleType<Socket, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T22: Encode<Optional<HandleType<EventPair, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T23: Encode<Optional<HandleType<Job, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T24: Encode<Optional<HandleType<Vmar, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T25: Encode<Optional<HandleType<Fifo, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T26: Encode<Optional<HandleType<Timer, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>> Encode<Handles, DefaultFuchsiaResourceDialect> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26)
impl<T0: Encode<HandleType<Handle, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T1: Encode<HandleType<Process, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T2: Encode<HandleType<Thread, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T3: Encode<HandleType<Vmo, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T4: Encode<HandleType<Event, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T5: Encode<HandleType<Port, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T6: Encode<HandleType<Socket, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T7: Encode<HandleType<EventPair, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T8: Encode<HandleType<Job, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T9: Encode<HandleType<Vmar, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T10: Encode<HandleType<Fifo, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T11: Encode<HandleType<Timer, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T12: Encode<Optional<HandleType<Handle, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T13: Encode<Optional<HandleType<Process, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T14: Encode<Optional<HandleType<Thread, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T15: Encode<Optional<HandleType<Vmo, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T16: Encode<Optional<HandleType<Channel, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T17: Encode<Optional<HandleType<Event, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T18: Encode<Optional<HandleType<Port, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T19: Encode<Optional<HandleType<Interrupt, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T20: Encode<Optional<HandleType<DebugLog, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T21: Encode<Optional<HandleType<Socket, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T22: Encode<Optional<HandleType<EventPair, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T23: Encode<Optional<HandleType<Job, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T24: Encode<Optional<HandleType<Vmar, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T25: Encode<Optional<HandleType<Fifo, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>, T26: Encode<Optional<HandleType<Timer, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>> Encode<Handles, DefaultFuchsiaResourceDialect> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26)
Source§impl Ord for Handles
impl Ord for Handles
Source§impl PartialOrd for Handles
impl PartialOrd for Handles
Source§impl ResourceTypeMarker for Handles
impl ResourceTypeMarker for Handles
Source§type Borrowed<'a> = &'a mut Handles
type Borrowed<'a> = &'a mut Handles
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &mut Self::Owned
. There are three cases: Read moreSource§fn take_or_borrow<'a>(
value: &'a mut <Self as TypeMarker>::Owned,
) -> Self::Borrowed<'a>
fn take_or_borrow<'a>( value: &'a mut <Self as TypeMarker>::Owned, ) -> Self::Borrowed<'a>
Cheaply converts from
&mut Self::Owned
to Self::Borrowed
. For
HandleBased
types this is “take” (it returns an owned handle and
replaces value
with Handle::invalid
), and for all other types it is
“borrow” (just converts from one reference to another).Source§impl TypeMarker for Handles
impl TypeMarker for Handles
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.impl Eq for Handles
impl Standalone<DefaultFuchsiaResourceDialect> for Handles
impl StructuralPartialEq for Handles
Auto Trait Implementations§
impl Freeze for Handles
impl RefUnwindSafe for Handles
impl Send for Handles
impl Sync for Handles
impl Unpin for Handles
impl UnwindSafe for Handles
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