pub enum IrqSpec {
Irq(u32),
UserspaceIrq(UserspaceIrq),
UnknownOrdinal_(u64),
}Variants§
Implementations§
Trait Implementations§
impl Copy for IrqSpec
Source§impl<___E> Encode<IrqSpec<'static>, ___E> for IrqSpecwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<___E> Encode<IrqSpec<'static>, ___E> for IrqSpecwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§impl<'a, ___E> Encode<IrqSpec<'static>, ___E> for &'a IrqSpecwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<'a, ___E> Encode<IrqSpec<'static>, ___E> for &'a IrqSpecwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§impl<___E> EncodeOption<IrqSpec<'static>, ___E> for IrqSpec
impl<___E> EncodeOption<IrqSpec<'static>, ___E> for IrqSpec
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<IrqSpec<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<IrqSpec<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'a, ___E> EncodeOption<IrqSpec<'static>, ___E> for &'a IrqSpec
impl<'a, ___E> EncodeOption<IrqSpec<'static>, ___E> for &'a IrqSpec
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<IrqSpec<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<IrqSpec<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
impl Eq for IrqSpec
Source§impl<'de> FromWireOption<IrqSpec<'de>> for IrqSpec
impl<'de> FromWireOption<IrqSpec<'de>> for IrqSpec
Source§fn from_wire_option(wire: IrqSpec<'de>) -> Option<Self>
fn from_wire_option(wire: IrqSpec<'de>) -> Option<Self>
Converts the given owned value to an option of this type.
Source§impl<'de> FromWireOption<IrqSpec<'de>> for Box<IrqSpec>
impl<'de> FromWireOption<IrqSpec<'de>> for Box<IrqSpec>
Source§fn from_wire_option(wire: IrqSpec<'de>) -> Option<Self>
fn from_wire_option(wire: IrqSpec<'de>) -> Option<Self>
Converts the given owned value to an option of this type.
Source§impl<'de> FromWireOptionRef<IrqSpec<'de>> for Box<IrqSpec>
impl<'de> FromWireOptionRef<IrqSpec<'de>> for Box<IrqSpec>
Source§fn from_wire_option_ref(wire: &IrqSpec<'de>) -> Option<Self>
fn from_wire_option_ref(wire: &IrqSpec<'de>) -> Option<Self>
Converts the given reference to an option of this type.
Source§impl<'de> FromWireRef<IrqSpec<'de>> for IrqSpec
impl<'de> FromWireRef<IrqSpec<'de>> for IrqSpec
Source§fn from_wire_ref(wire: &IrqSpec<'de>) -> Self
fn from_wire_ref(wire: &IrqSpec<'de>) -> Self
Converts the given reference to this type.
Source§impl Ord for IrqSpec
impl Ord for IrqSpec
1.21.0 (const: unstable) · 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 PartialOrd for IrqSpec
impl PartialOrd for IrqSpec
impl StructuralPartialEq for IrqSpec
Auto Trait Implementations§
impl Freeze for IrqSpec
impl RefUnwindSafe for IrqSpec
impl Send for IrqSpec
impl Sync for IrqSpec
impl Unpin for IrqSpec
impl UnsafeUnpin for IrqSpec
impl UnwindSafe for IrqSpec
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§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]