pub fn pop_or_enable_notification<'a, 'b>(
        &'a mut self,
        mem: &'b GuestMemoryMmap,
    ) -> Option<DescriptorChain<'b>> {
        if !self.uses_notif_suppression {
            return self.pop(mem);
        }

        if self.try_enable_notification(mem) {
            return None;
        }

        self.do_pop_unchecked(mem)
    }
/// Try to pop the first available descriptor chain from the avail ring.
/// If no descriptor is available, enable notifications.
Try to pop the first available descriptor chain from the avail ring.
If no descriptor is available, enable notifications.
Try to pop the first available descriptor chain from the avail ring . If no descriptor is available enable notifications .
pub fn pop_or_enable_notification<'a, 'b>(
        &'a mut self,
        mem: &'b GuestMemoryMmap,
    ) -> Option<DescriptorChain<'b>> {
        if !self.uses_notif_suppression {
            return self.pop(mem);
        }
        if self.try_enable_notification(mem) {
            return None;
        }
        self.do_pop_unchecked(mem)
    }
pub fn pop_or_enable_notification < ' a , ' b > ( & ' a mut self , mem : & ' b GuestMemoryMmap , ) -> Option < DescriptorChain < ' b > > { if ! self . uses_notif_suppression { return self . pop ( mem ) ; } if self . try_enable_notification ( mem ) { return None ; } self . do_pop_unchecked ( mem ) }
Try to pop the first available descriptor chain from the avail ring.
Try to pop the first available descriptor chain from the avail ring .
&'a mut self
mem
&'b GuestMemoryMmap
&'a mut self
mem
&'b GuestMemoryMmap