fn name(&self) -> &str {
        unsafe {
            // struct is opaque
            std::ffi::CStr::from_ptr(
                (*self.0)
                    .dev
                    .add(std::mem::size_of::<*mut spdk_io_channel>())
                    as *mut i8,
            )
            .to_str()
            .unwrap()
        }
    }
/// return the name of the io channel which is used to register the device,
/// this can either be a string containing the pointer address (?) an
/// actual name
return the name of the io channel which is used to register the device,
this can either be a string containing the pointer address (?) an
actual name
return the name of the io channel which is used to register the device this can either be a string containing the pointer address ( ? ) an actual name
fn name(&self) -> &str {
        unsafe {
            // struct is opaque
            std::ffi::CStr::from_ptr(
                (*self.0)
                    .dev
                    .add(std::mem::size_of::<*mut spdk_io_channel>())
                    as *mut i8,
            )
            .to_str()
            .unwrap()
        }
    }
fn name ( & self ) -> & str { unsafe { // struct is opaque std :: ffi :: CStr :: from_ptr ( ( * self . 0 ) . dev . add ( std :: mem :: size_of :: < * mut spdk_io_channel > ( ) ) as * mut i8 , ) . to_str ( ) . unwrap ( ) } }
return the name of the io channel which is used to register the device,
this can either be a string containing the pointer address (?)
return the name of the io channel which is used to register the device this can either be a string containing the pointer address ( ? )
&self