/// Constructs a new event queue.
///
/// The supplied `RvCtx` must live at least as long as any created
/// queues.
Constructs a new event queue.
The supplied `RvCtx` must live at least as long as any created
queues.
Constructs a new event queue . The supplied ` RvCtx ` must live at least as long as any created queues .
pub(crate) fn new(ctx: RvCtx) -> Result<Self, TibrvError> {
        let mut ptr: tibrvQueue = unsafe { mem::zeroed() };
        unsafe { tibrvQueue_Create(&mut ptr) }.map(|_| Queue {
            inner: ptr,
            _context: ctx,
        })
    }
pub ( crate ) fn new ( ctx : RvCtx ) -> Result < Self , TibrvError > { let mut ptr : tibrvQueue = unsafe { mem :: zeroed ( ) } ; unsafe { tibrvQueue_Create ( & mut ptr ) } . map ( | _ | Queue { inner : ptr , _context : ctx , } ) }
Constructs a new event queue.
Constructs a new event queue .
ctx
RvCtx