pub struct InterruptAttributorGetInterruptInfoResponse {
pub device_name: String,
pub component_token: Option<Event>,
}Fields§
§device_name: StringThe name of the device which the board driver gave to the device the interrupt was assigned to.
component_token: Option<Event>Token that represents the driver component instance which the interrupt was given to. It may be be exchanged with the driver framework or component framework to learn more information about component, such as it’s URL or moniker.
If a driver has not yet bound to the device and taken control of the interrupt yet, it will not yet be present.
Trait Implementations§
Source§impl Decode<InterruptAttributorGetInterruptInfoResponse, DefaultFuchsiaResourceDialect> for InterruptAttributorGetInterruptInfoResponse
impl Decode<InterruptAttributorGetInterruptInfoResponse, DefaultFuchsiaResourceDialect> for InterruptAttributorGetInterruptInfoResponse
Source§impl Encode<InterruptAttributorGetInterruptInfoResponse, DefaultFuchsiaResourceDialect> for &mut InterruptAttributorGetInterruptInfoResponse
impl Encode<InterruptAttributorGetInterruptInfoResponse, DefaultFuchsiaResourceDialect> for &mut InterruptAttributorGetInterruptInfoResponse
Source§impl<T0: Encode<BoundedString<128>, DefaultFuchsiaResourceDialect>, T1: Encode<Optional<HandleType<Event, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>> Encode<InterruptAttributorGetInterruptInfoResponse, DefaultFuchsiaResourceDialect> for (T0, T1)
impl<T0: Encode<BoundedString<128>, DefaultFuchsiaResourceDialect>, T1: Encode<Optional<HandleType<Event, { _ }, 2147483648>>, DefaultFuchsiaResourceDialect>> Encode<InterruptAttributorGetInterruptInfoResponse, DefaultFuchsiaResourceDialect> for (T0, T1)
Source§impl Ord for InterruptAttributorGetInterruptInfoResponse
impl Ord for InterruptAttributorGetInterruptInfoResponse
Source§fn cmp(&self, other: &InterruptAttributorGetInterruptInfoResponse) -> Ordering
fn cmp(&self, other: &InterruptAttributorGetInterruptInfoResponse) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InterruptAttributorGetInterruptInfoResponse
impl PartialEq for InterruptAttributorGetInterruptInfoResponse
Source§fn eq(&self, other: &InterruptAttributorGetInterruptInfoResponse) -> bool
fn eq(&self, other: &InterruptAttributorGetInterruptInfoResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for InterruptAttributorGetInterruptInfoResponse
impl PartialOrd for InterruptAttributorGetInterruptInfoResponse
Source§impl ResourceTypeMarker for InterruptAttributorGetInterruptInfoResponse
impl ResourceTypeMarker for InterruptAttributorGetInterruptInfoResponse
Source§type Borrowed<'a> = &'a mut InterruptAttributorGetInterruptInfoResponse
type Borrowed<'a> = &'a mut InterruptAttributorGetInterruptInfoResponse
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 InterruptAttributorGetInterruptInfoResponse
impl TypeMarker for InterruptAttributorGetInterruptInfoResponse
Source§type Owned = InterruptAttributorGetInterruptInfoResponse
type Owned = InterruptAttributorGetInterruptInfoResponse
The owned Rust type which this FIDL type decodes into.
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 InterruptAttributorGetInterruptInfoResponse
impl Standalone<DefaultFuchsiaResourceDialect> for InterruptAttributorGetInterruptInfoResponse
impl StructuralPartialEq for InterruptAttributorGetInterruptInfoResponse
Auto Trait Implementations§
impl Freeze for InterruptAttributorGetInterruptInfoResponse
impl RefUnwindSafe for InterruptAttributorGetInterruptInfoResponse
impl Send for InterruptAttributorGetInterruptInfoResponse
impl Sync for InterruptAttributorGetInterruptInfoResponse
impl Unpin for InterruptAttributorGetInterruptInfoResponse
impl UnsafeUnpin for InterruptAttributorGetInterruptInfoResponse
impl UnwindSafe for InterruptAttributorGetInterruptInfoResponse
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