pub fn pack(&self) -> RKeyBuffer {
        let mut buf = MaybeUninit::uninit();
        let mut len = MaybeUninit::uninit();
        let status = unsafe {
            ucp_rkey_pack(
                self.context.handle,
                self.handle,
                buf.as_mut_ptr(),
                len.as_mut_ptr(),
            )
        };
        assert_eq!(status, ucs_status_t::UCS_OK);
        RKeyBuffer {
            buf: unsafe { buf.assume_init() },
            len: unsafe { len.assume_init() },
        }
    }
/// Packs into the buffer a remote access key (RKEY) object.
Packs into the buffer a remote access key (RKEY) object.
Packs into the buffer a remote access key ( RKEY ) object .
pub fn pack(&self) -> RKeyBuffer {
        let mut buf = MaybeUninit::uninit();
        let mut len = MaybeUninit::uninit();
        let status = unsafe {
            ucp_rkey_pack(
                self.context.handle,
                self.handle,
                buf.as_mut_ptr(),
                len.as_mut_ptr(),
            )
        };
        assert_eq!(status, ucs_status_t::UCS_OK);
        RKeyBuffer {
            buf: unsafe { buf.assume_init() },
            len: unsafe { len.assume_init() },
        }
    }
pub fn pack ( & self ) -> RKeyBuffer { let mut buf = MaybeUninit :: uninit ( ) ; let mut len = MaybeUninit :: uninit ( ) ; let status = unsafe { ucp_rkey_pack ( self . context . handle , self . handle , buf . as_mut_ptr ( ) , len . as_mut_ptr ( ) , ) } ; assert_eq ! ( status ucs_status_t UCS_OK ) ; RKeyBuffer { buf : unsafe { buf . assume_init ( ) } , len : unsafe { len . assume_init ( ) } , } }
Packs into the buffer a remote access key (RKEY) object.
Packs into the buffer a remote access key ( RKEY ) object .
&self
&self