pub fn address(&self) -> WorkerAddress<'_> {
        let mut handle = MaybeUninit::uninit();
        let mut length = MaybeUninit::uninit();
        let status = unsafe {
            ucp_worker_get_address(self.handle, handle.as_mut_ptr(), length.as_mut_ptr())
        };
        assert_eq!(status, ucs_status_t::UCS_OK);
        WorkerAddress {
            handle: unsafe { handle.assume_init() },
            length: unsafe { length.assume_init() } as usize,
            worker: self,
        }
    }
/// Get the address of the worker object.
///
/// This address can be passed to remote instances of the UCP library
/// in order to connect to this worker.
Get the address of the worker object.
This address can be passed to remote instances of the UCP library
in order to connect to this worker.
Get the address of the worker object . This address can be passed to remote instances of the UCP library in order to connect to this worker .
pub fn address(&self) -> WorkerAddress<'_> {
        let mut handle = MaybeUninit::uninit();
        let mut length = MaybeUninit::uninit();
        let status = unsafe {
            ucp_worker_get_address(self.handle, handle.as_mut_ptr(), length.as_mut_ptr())
        };
        assert_eq!(status, ucs_status_t::UCS_OK);
        WorkerAddress {
            handle: unsafe { handle.assume_init() },
            length: unsafe { length.assume_init() } as usize,
            worker: self,
        }
    }
pub fn address ( & self ) -> WorkerAddress < ' _ > { let mut handle = MaybeUninit :: uninit ( ) ; let mut length = MaybeUninit :: uninit ( ) ; let status = unsafe { ucp_worker_get_address ( self . handle , handle . as_mut_ptr ( ) , length . as_mut_ptr ( ) ) } ; assert_eq ! ( status ucs_status_t UCS_OK ) ; WorkerAddress { handle : unsafe { handle . assume_init ( ) } , length : unsafe { length . assume_init ( ) } as usize , worker : self , } }
Get the address of the worker object.
Get the address of the worker object .
&self
&self