pub fn slot_sanity_check(&self, slot: &MMIODeviceInfo) -> Result<()> {
        if slot.addr < self.mmio_base || slot.len != MMIO_LEN {
            return Err(Error::InvalidInput);
        }
        self.irqs.check(&slot.irqs)
    }
/// Does a slot sanity check against expected values.
Does a slot sanity check against expected values.
Does a slot sanity check against expected values .
pub fn slot_sanity_check(&self, slot: &MMIODeviceInfo) -> Result<()> {
        if slot.addr < self.mmio_base || slot.len != MMIO_LEN {
            return Err(Error::InvalidInput);
        }
        self.irqs.check(&slot.irqs)
    }
pub fn slot_sanity_check ( & self , slot : & MMIODeviceInfo ) -> Result < ( ) > { if slot . addr < self . mmio_base || slot . len != MMIO_LEN { return Err ( Error :: InvalidInput ) ; } self . irqs . check ( & slot . irqs ) }
Does a slot sanity check against expected values.
Does a slot sanity check against expected values .
&self
slot
&MMIODeviceInfo
&self
slot
&MMIODeviceInfo