#[repr(C)]pub struct indigo_server_entry {
pub name: [c_char; 128],
pub host: [c_char; 128],
pub port: c_int,
pub connection_id: u32,
pub thread: pthread_t,
pub thread_started: bool,
pub socket: c_int,
pub protocol_adapter: *mut indigo_device,
pub last_error: [c_char; 256],
pub shutdown: bool,
}Expand description
Remote server entry type.
Fields§
§name: [c_char; 128]< service name
host: [c_char; 128]< server host name
port: c_int< server port
connection_id: u32< client connection ID
thread: pthread_t< client thread ID
thread_started: bool< client thread started/stopped
socket: c_int< stream socket
protocol_adapter: *mut indigo_device< server protocol adapter
last_error: [c_char; 256]< last error reported within client thread
shutdown: bool< request shutdown
Trait Implementations§
Auto Trait Implementations§
impl Freeze for indigo_server_entry
impl RefUnwindSafe for indigo_server_entry
impl !Send for indigo_server_entry
impl !Sync for indigo_server_entry
impl Unpin for indigo_server_entry
impl UnwindSafe for indigo_server_entry
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