#[repr(C)]pub struct EnposeDeviceInfo {
pub ip: [c_char; 46],
pub serial: u32,
pub compatible: bool,
}Expand description
C-compatible view of one discovered device.
Mirrors DeviceInfo, but the address is rendered into a fixed,
null-terminated string buffer instead of a Rust IpAddr.
Fields§
§ip: [c_char; 46]Null-terminated IPv4 address string.
serial: u32Factory serial number of the device.
compatible: boolNon-zero when the device’s protocol version matches this library.
Auto Trait Implementations§
impl Freeze for EnposeDeviceInfo
impl RefUnwindSafe for EnposeDeviceInfo
impl Send for EnposeDeviceInfo
impl Sync for EnposeDeviceInfo
impl Unpin for EnposeDeviceInfo
impl UnsafeUnpin for EnposeDeviceInfo
impl UnwindSafe for EnposeDeviceInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more