pub struct SessionInfo(/* private fields */);
Expand description
Configurations for sessions
Implementations§
Source§impl SessionInfo
impl SessionInfo
pub fn connection_count(&self) -> i32
pub fn set_connection_count(&mut self, val: i32)
pub fn with_connection_count(self, val: i32) -> Self
pub fn port_type(&self) -> TcpPortType
pub fn set_port_type(&mut self, val: TcpPortType)
pub fn with_port_type(self, val: TcpPortType) -> Self
pub fn min_port(&self) -> i32
pub fn max_port(&self) -> i32
pub fn ports(&self) -> [i32; 128]
pub fn ptr(&self) -> *const HAPI_SessionInfo
Trait Implementations§
Source§impl Clone for SessionInfo
impl Clone for SessionInfo
Source§fn clone(&self) -> SessionInfo
fn clone(&self) -> SessionInfo
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 SessionInfo
impl Debug for SessionInfo
Auto Trait Implementations§
impl Freeze for SessionInfo
impl RefUnwindSafe for SessionInfo
impl Send for SessionInfo
impl Sync for SessionInfo
impl Unpin for SessionInfo
impl UnwindSafe for SessionInfo
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