#[repr(C)]pub struct aws_socket {Show 14 fields
pub allocator: *mut aws_allocator,
pub local_endpoint: aws_socket_endpoint,
pub remote_endpoint: aws_socket_endpoint,
pub options: aws_socket_options,
pub io_handle: aws_io_handle,
pub event_loop: *mut aws_event_loop,
pub handler: *mut aws_channel_handler,
pub state: c_int,
pub readable_fn: aws_socket_on_readable_fn,
pub readable_user_data: *mut c_void,
pub connection_result_fn: aws_socket_on_connection_result_fn,
pub accept_result_fn: aws_socket_on_accept_result_fn,
pub connect_accept_user_data: *mut c_void,
pub impl_: *mut c_void,
}
Fields
allocator: *mut aws_allocator
local_endpoint: aws_socket_endpoint
remote_endpoint: aws_socket_endpoint
options: aws_socket_options
io_handle: aws_io_handle
event_loop: *mut aws_event_loop
handler: *mut aws_channel_handler
state: c_int
readable_fn: aws_socket_on_readable_fn
readable_user_data: *mut c_void
connection_result_fn: aws_socket_on_connection_result_fn
accept_result_fn: aws_socket_on_accept_result_fn
connect_accept_user_data: *mut c_void
impl_: *mut c_void
Trait Implementations
sourceimpl Clone for aws_socket
impl Clone for aws_socket
sourcefn clone(&self) -> aws_socket
fn clone(&self) -> aws_socket
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for aws_socket
impl Default for aws_socket
impl Copy for aws_socket
Auto Trait Implementations
impl RefUnwindSafe for aws_socket
impl !Send for aws_socket
impl !Sync for aws_socket
impl Unpin for aws_socket
impl UnwindSafe for aws_socket
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more