pub struct Connect { /* private fields */ }
Expand description
Connect a socket, equivalent to connect(2)
.
Implementations§
Source§impl Connect
impl Connect
Sourcepub const CODE: IoringOp
pub const CODE: IoringOp
The opcode of the operation. This can be passed to
Probe::is_supported
to check if this operation is
supported with the current kernel.
pub fn new( fd: impl UseFixed, addr: *const SocketAddrOpaque, addrlen: SocketAddrLen, ) -> Self
pub fn build(self) -> Entry
Auto Trait Implementations§
impl Freeze for Connect
impl RefUnwindSafe for Connect
impl !Send for Connect
impl !Sync for Connect
impl Unpin for Connect
impl UnwindSafe for Connect
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