pub fn data(&self) -> Option<&T> {
        unsafe {
            let raw_data = (*self.inner).data as *const T;

            if raw_data.is_null() {
                None
            } else {
                Some(&(*raw_data))
            }
        }
    }
/// Returns a reference to the data associated with this `Peer`, if set.
Returns a reference to the data associated with this `Peer`, if set.
Returns a reference to the data associated with this ` Peer ` if set .
pub fn data(&self) -> Option<&T> {
        unsafe {
            let raw_data = (*self.inner).data as *const T;
            if raw_data.is_null() {
                None
            } else {
                Some(&(*raw_data))
            }
        }
    }
pub fn data ( & self ) -> Option < & T > { unsafe { let raw_data = ( * self . inner ) . data as * const T ; if raw_data . is_null ( ) { None } else { Some ( & ( * raw_data ) ) } } }
Returns a reference to the data associated with this `Peer`, if set.
Returns a reference to the data associated with this ` Peer ` if set .
&self
&self