#[repr(C, packed(1))]pub struct _LEAP_CONNECTION_CONFIG {
pub size: u32,
pub flags: u32,
pub server_namespace: *const c_char,
}Expand description
\ingroup Structs Specifies the configuration for a connection. @since 3.0.0
Fields§
§size: u32Set to the final size of the structure. @since 3.0.0
flags: u32A combination of eLeapConnectionConfig flags. Set to 0 to indicate no special flags. @since 3.0.0
server_namespace: *const c_charSpecifies the server namespace to be used. Leave NULL to use the default namespace.
It is possible to launch the service with a different IPC connection namespace (using internal service functions). Clients wishing to connect to a different server namespace may specify that namespace here.
The default connection namespace is “Leap Service”.
Trait Implementations§
Source§impl Clone for _LEAP_CONNECTION_CONFIG
impl Clone for _LEAP_CONNECTION_CONFIG
Source§fn clone(&self) -> _LEAP_CONNECTION_CONFIG
fn clone(&self) -> _LEAP_CONNECTION_CONFIG
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for _LEAP_CONNECTION_CONFIG
impl Debug for _LEAP_CONNECTION_CONFIG
impl Copy for _LEAP_CONNECTION_CONFIG
Auto Trait Implementations§
impl Freeze for _LEAP_CONNECTION_CONFIG
impl RefUnwindSafe for _LEAP_CONNECTION_CONFIG
impl !Send for _LEAP_CONNECTION_CONFIG
impl !Sync for _LEAP_CONNECTION_CONFIG
impl Unpin for _LEAP_CONNECTION_CONFIG
impl UnwindSafe for _LEAP_CONNECTION_CONFIG
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