#[non_exhaustive]#[repr(u32)]pub enum io_uring_socket_op {
SOCKET_URING_OP_SIOCINQ = 0,
SOCKET_URING_OP_SIOCOUTQ = 1,
SOCKET_URING_OP_GETSOCKOPT = 2,
SOCKET_URING_OP_SETSOCKOPT = 3,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SOCKET_URING_OP_SIOCINQ = 0
SOCKET_URING_OP_SIOCOUTQ = 1
SOCKET_URING_OP_GETSOCKOPT = 2
SOCKET_URING_OP_SETSOCKOPT = 3
Trait Implementations§
Source§impl Clone for io_uring_socket_op
impl Clone for io_uring_socket_op
Source§fn clone(&self) -> io_uring_socket_op
fn clone(&self) -> io_uring_socket_op
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 io_uring_socket_op
impl Debug for io_uring_socket_op
Source§impl Hash for io_uring_socket_op
impl Hash for io_uring_socket_op
Source§impl PartialEq for io_uring_socket_op
impl PartialEq for io_uring_socket_op
impl Copy for io_uring_socket_op
impl Eq for io_uring_socket_op
impl StructuralPartialEq for io_uring_socket_op
Auto Trait Implementations§
impl Freeze for io_uring_socket_op
impl RefUnwindSafe for io_uring_socket_op
impl Send for io_uring_socket_op
impl Sync for io_uring_socket_op
impl Unpin for io_uring_socket_op
impl UnwindSafe for io_uring_socket_op
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