pub fn arm(&self) -> bool {
        let status = unsafe { ucp_worker_arm(self.handle) };
        match status {
            ucs_status_t::UCS_OK => true,
            ucs_status_t::UCS_ERR_BUSY => false,
            _ => panic!("{:?}", status),
        }
    }
/// This needs to be called before waiting on each notification on this worker.
///
/// Returns 'true' if one can wait for events (sleep mode).
This needs to be called before waiting on each notification on this worker.
Returns 'true' if one can wait for events (sleep mode).
This needs to be called before waiting on each notification on this worker . Returns ' true ' if one can wait for events ( sleep mode ) .
pub fn arm(&self) -> bool {
        let status = unsafe { ucp_worker_arm(self.handle) };
        match status {
            ucs_status_t::UCS_OK => true,
            ucs_status_t::UCS_ERR_BUSY => false,
            _ => panic!("{:?}", status),
        }
    }
pub fn arm ( & self ) -> bool { let status = unsafe { ucp_worker_arm ( self . handle ) } ; match status { ucs_status_t :: UCS_OK => true , ucs_status_t :: UCS_ERR_BUSY => false , _ => panic ! ( " " status ) , } }
This needs to be called before waiting on each notification on this worker.
This needs to be called before waiting on each notification on this worker .
&self
&self