Write some TLS bytes to the network. The actual network I/O is performed by
callback, which you provide. Rustls will invoke your callback with a
suitable buffer containing TLS bytes to send. You don't have to write them
all, just as many as you can in one syscall.
The userdata parameter is passed through directly to callback. Note that
this is distinct from the userdata parameter set with
rustls_connection_set_userdata.
Returns 0 for success, or an errno value on error. Passes through return values
from callback. See rustls_write_callback for more details.
<https://docs.rs/rustls/0.20.0/rustls/enum.Connection.html#method.write_tls>
Write some TLS bytes to the network. The actual network I/O is performed by callback, which you provide. Rustls will invoke your callback with a suitable buffer containing TLS bytes to send. You don't have to write them all, just as many as you can in one syscall. The userdata parameter is passed through directly to callback. Note that this is distinct from the userdata parameter set with rustls_connection_set_userdata. Returns 0 for success, or an errno value on error. Passes through return values from callback. See rustls_write_callback for more details. <https://docs.rs/rustls/0.20.0/rustls/enum.Connection.html#method.write_tls>