pub(crate) fn poll_send_vectored_with_ancillary(
	socket: &UnixSeqpacket,
	cx: &mut Context,
	buffer: &[IoSlice],
	ancillary: &mut SocketAncillary,
) -> Poll<std::io::Result<usize>> {
	let mut ready_guard = ready!(socket.io.poll_write_ready(cx)?);

	match send_msg(socket.io.get_ref(), buffer, ancillary) {
		Err(ref e) if e.kind() == std::io::ErrorKind::WouldBlock => {
			ready_guard.clear_ready();
			Poll::Pending
		},
		x => Poll::Ready(x),
	}
}
/// Send data on the socket to the connected peer without blocking.
Send data on the socket to the connected peer without blocking.
Send data on the socket to the connected peer without blocking .
pub(crate) fn poll_send_vectored_with_ancillary(
	socket: &UnixSeqpacket,
	cx: &mut Context,
	buffer: &[IoSlice],
	ancillary: &mut SocketAncillary,
) -> Poll<std::io::Result<usize>> {
	let mut ready_guard = ready!(socket.io.poll_write_ready(cx)?);
	match send_msg(socket.io.get_ref(), buffer, ancillary) {
		Err(ref e) if e.kind() == std::io::ErrorKind::WouldBlock => {
			ready_guard.clear_ready();
			Poll::Pending
		},
		x => Poll::Ready(x),
	}
}
pub ( crate ) fn poll_send_vectored_with_ancillary ( socket : & UnixSeqpacket , cx : & mut Context , buffer : & [ IoSlice ] , ancillary : & mut SocketAncillary , ) -> Poll < std :: io :: Result < usize > > { let mut ready_guard = ready ! ( socket io poll_write_ready ( cx ) ) ; match send_msg ( socket . io . get_ref ( ) , buffer , ancillary ) { Err ( ref e ) if e . kind ( ) == std :: io :: ErrorKind :: WouldBlock => { ready_guard . clear_ready ( ) ; Poll :: Pending } , x => Poll :: Ready ( x ) , } }
Send data on the socket to the connected peer without blocking.
Send data on the socket to the connected peer without blocking .
socket
&UnixSeqpacket
cx
&mut Context
buffer
&[IoSlice]
ancillary
&mut SocketAncillary