pub enum ProbeKind {
Fdt {
compatibles: &'static [&'static str],
on_probe: fn(FdtInfo<'_>, PlatformDevice) -> Result<(), OnProbeError>,
},
Pci {
on_probe: fn(&mut EndpointRc, PlatformDevice) -> Result<(), OnProbeError>,
},
}Variants§
Fdt
Fields
§
on_probe: fn(FdtInfo<'_>, PlatformDevice) -> Result<(), OnProbeError>Pci
Fields
§
on_probe: fn(&mut EndpointRc, PlatformDevice) -> Result<(), OnProbeError>Auto Trait Implementations§
impl Freeze for ProbeKind
impl RefUnwindSafe for ProbeKind
impl Send for ProbeKind
impl Sync for ProbeKind
impl Unpin for ProbeKind
impl UnwindSafe for ProbeKind
Blanket Implementations§
Source§impl<T> Background for T
impl<T> Background for T
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