Struct leap_sys::_LEAP_CONNECTION_CONFIG
source · [−]#[repr(C, packed)]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: u32
Set to the final size of the structure. @since 3.0.0
flags: u32
A combination of eLeapConnectionConfig flags. Set to 0 to indicate no special flags. @since 3.0.0
server_namespace: *const c_char
Specifies 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
sourceimpl Clone for _LEAP_CONNECTION_CONFIG
impl Clone for _LEAP_CONNECTION_CONFIG
sourcefn clone(&self) -> _LEAP_CONNECTION_CONFIG
fn clone(&self) -> _LEAP_CONNECTION_CONFIG
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for _LEAP_CONNECTION_CONFIG
impl Debug for _LEAP_CONNECTION_CONFIG
impl Copy for _LEAP_CONNECTION_CONFIG
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more