#[repr(u32)]pub enum uct_iface_open_mode {
UCT_IFACE_OPEN_MODE_DEVICE = 1,
UCT_IFACE_OPEN_MODE_SOCKADDR_SERVER = 2,
UCT_IFACE_OPEN_MODE_SOCKADDR_CLIENT = 4,
}Expand description
@ingroup UCT_RESOURCE @brief Mode in which to open the interface.
Variants§
UCT_IFACE_OPEN_MODE_DEVICE = 1
Interface is opened on a specific device
UCT_IFACE_OPEN_MODE_SOCKADDR_SERVER = 2
Interface is opened on a specific address on the server side. This mode will be deprecated in the near future for a better API.
UCT_IFACE_OPEN_MODE_SOCKADDR_CLIENT = 4
Interface is opened on a specific address on the client side This mode will be deprecated in the near future for a better API.
Trait Implementations§
Source§impl Clone for uct_iface_open_mode
impl Clone for uct_iface_open_mode
Source§fn clone(&self) -> uct_iface_open_mode
fn clone(&self) -> uct_iface_open_mode
Returns a copy 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 uct_iface_open_mode
impl Debug for uct_iface_open_mode
Source§impl Hash for uct_iface_open_mode
impl Hash for uct_iface_open_mode
Source§impl PartialEq for uct_iface_open_mode
impl PartialEq for uct_iface_open_mode
impl Copy for uct_iface_open_mode
impl Eq for uct_iface_open_mode
impl StructuralPartialEq for uct_iface_open_mode
Auto Trait Implementations§
impl Freeze for uct_iface_open_mode
impl RefUnwindSafe for uct_iface_open_mode
impl Send for uct_iface_open_mode
impl Sync for uct_iface_open_mode
impl Unpin for uct_iface_open_mode
impl UnwindSafe for uct_iface_open_mode
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