fidl_fuchsia_posix_socket

Trait BaseSocketProxyInterface

Source
pub trait BaseSocketProxyInterface: Send + Sync {
Show 61 associated items type CloseResponseFut: Future<Output = Result<CloseableCloseResult, Error>> + Send; type QueryResponseFut: Future<Output = Result<Vec<u8>, Error>> + Send; type SetReuseAddressResponseFut: Future<Output = Result<BaseSocketSetReuseAddressResult, Error>> + Send; type GetReuseAddressResponseFut: Future<Output = Result<BaseSocketGetReuseAddressResult, Error>> + Send; type GetErrorResponseFut: Future<Output = Result<BaseSocketGetErrorResult, Error>> + Send; type SetBroadcastResponseFut: Future<Output = Result<BaseSocketSetBroadcastResult, Error>> + Send; type GetBroadcastResponseFut: Future<Output = Result<BaseSocketGetBroadcastResult, Error>> + Send; type SetSendBufferResponseFut: Future<Output = Result<BaseSocketSetSendBufferResult, Error>> + Send; type GetSendBufferResponseFut: Future<Output = Result<BaseSocketGetSendBufferResult, Error>> + Send; type SetReceiveBufferResponseFut: Future<Output = Result<BaseSocketSetReceiveBufferResult, Error>> + Send; type GetReceiveBufferResponseFut: Future<Output = Result<BaseSocketGetReceiveBufferResult, Error>> + Send; type SetKeepAliveResponseFut: Future<Output = Result<BaseSocketSetKeepAliveResult, Error>> + Send; type GetKeepAliveResponseFut: Future<Output = Result<BaseSocketGetKeepAliveResult, Error>> + Send; type SetOutOfBandInlineResponseFut: Future<Output = Result<BaseSocketSetOutOfBandInlineResult, Error>> + Send; type GetOutOfBandInlineResponseFut: Future<Output = Result<BaseSocketGetOutOfBandInlineResult, Error>> + Send; type SetNoCheckResponseFut: Future<Output = Result<BaseSocketSetNoCheckResult, Error>> + Send; type GetNoCheckResponseFut: Future<Output = Result<BaseSocketGetNoCheckResult, Error>> + Send; type SetLingerResponseFut: Future<Output = Result<BaseSocketSetLingerResult, Error>> + Send; type GetLingerResponseFut: Future<Output = Result<BaseSocketGetLingerResult, Error>> + Send; type SetReusePortResponseFut: Future<Output = Result<BaseSocketSetReusePortResult, Error>> + Send; type GetReusePortResponseFut: Future<Output = Result<BaseSocketGetReusePortResult, Error>> + Send; type GetAcceptConnResponseFut: Future<Output = Result<BaseSocketGetAcceptConnResult, Error>> + Send; type SetBindToDeviceResponseFut: Future<Output = Result<BaseSocketSetBindToDeviceResult, Error>> + Send; type GetBindToDeviceResponseFut: Future<Output = Result<BaseSocketGetBindToDeviceResult, Error>> + Send; type SetBindToInterfaceIndexResponseFut: Future<Output = Result<BaseSocketSetBindToInterfaceIndexResult, Error>> + Send; type GetBindToInterfaceIndexResponseFut: Future<Output = Result<BaseSocketGetBindToInterfaceIndexResult, Error>> + Send; type SetTimestampResponseFut: Future<Output = Result<BaseSocketSetTimestampResult, Error>> + Send; type GetTimestampResponseFut: Future<Output = Result<BaseSocketGetTimestampResult, Error>> + Send; type SetMarkResponseFut: Future<Output = Result<BaseSocketSetMarkResult, Error>> + Send; type GetMarkResponseFut: Future<Output = Result<BaseSocketGetMarkResult, Error>> + Send; // Required methods fn clone2(&self, request: ServerEnd<CloneableMarker>) -> Result<(), Error>; fn close(&self) -> Self::CloseResponseFut; fn query(&self) -> Self::QueryResponseFut; fn set_reuse_address(&self, value: bool) -> Self::SetReuseAddressResponseFut; fn get_reuse_address(&self) -> Self::GetReuseAddressResponseFut; fn get_error(&self) -> Self::GetErrorResponseFut; fn set_broadcast(&self, value: bool) -> Self::SetBroadcastResponseFut; fn get_broadcast(&self) -> Self::GetBroadcastResponseFut; fn set_send_buffer( &self, value_bytes: u64, ) -> Self::SetSendBufferResponseFut; fn get_send_buffer(&self) -> Self::GetSendBufferResponseFut; fn set_receive_buffer( &self, value_bytes: u64, ) -> Self::SetReceiveBufferResponseFut; fn get_receive_buffer(&self) -> Self::GetReceiveBufferResponseFut; fn set_keep_alive(&self, value: bool) -> Self::SetKeepAliveResponseFut; fn get_keep_alive(&self) -> Self::GetKeepAliveResponseFut; fn set_out_of_band_inline( &self, value: bool, ) -> Self::SetOutOfBandInlineResponseFut; fn get_out_of_band_inline(&self) -> Self::GetOutOfBandInlineResponseFut; fn set_no_check(&self, value: bool) -> Self::SetNoCheckResponseFut; fn get_no_check(&self) -> Self::GetNoCheckResponseFut; fn set_linger( &self, linger: bool, length_secs: u32, ) -> Self::SetLingerResponseFut; fn get_linger(&self) -> Self::GetLingerResponseFut; fn set_reuse_port(&self, value: bool) -> Self::SetReusePortResponseFut; fn get_reuse_port(&self) -> Self::GetReusePortResponseFut; fn get_accept_conn(&self) -> Self::GetAcceptConnResponseFut; fn set_bind_to_device( &self, value: &str, ) -> Self::SetBindToDeviceResponseFut; fn get_bind_to_device(&self) -> Self::GetBindToDeviceResponseFut; fn set_bind_to_interface_index( &self, value: u64, ) -> Self::SetBindToInterfaceIndexResponseFut; fn get_bind_to_interface_index( &self, ) -> Self::GetBindToInterfaceIndexResponseFut; fn set_timestamp( &self, value: TimestampOption, ) -> Self::SetTimestampResponseFut; fn get_timestamp(&self) -> Self::GetTimestampResponseFut; fn set_mark( &self, domain: MarkDomain, mark: &OptionalUint32, ) -> Self::SetMarkResponseFut; fn get_mark(&self, domain: MarkDomain) -> Self::GetMarkResponseFut;
}

Required Associated Types§

Source

type CloseResponseFut: Future<Output = Result<CloseableCloseResult, Error>> + Send

Source

type QueryResponseFut: Future<Output = Result<Vec<u8>, Error>> + Send

Source

type SetReuseAddressResponseFut: Future<Output = Result<BaseSocketSetReuseAddressResult, Error>> + Send

Source

type GetReuseAddressResponseFut: Future<Output = Result<BaseSocketGetReuseAddressResult, Error>> + Send

Source

type GetErrorResponseFut: Future<Output = Result<BaseSocketGetErrorResult, Error>> + Send

Source

type SetBroadcastResponseFut: Future<Output = Result<BaseSocketSetBroadcastResult, Error>> + Send

Source

type GetBroadcastResponseFut: Future<Output = Result<BaseSocketGetBroadcastResult, Error>> + Send

Source

type SetSendBufferResponseFut: Future<Output = Result<BaseSocketSetSendBufferResult, Error>> + Send

Source

type GetSendBufferResponseFut: Future<Output = Result<BaseSocketGetSendBufferResult, Error>> + Send

Source

type SetReceiveBufferResponseFut: Future<Output = Result<BaseSocketSetReceiveBufferResult, Error>> + Send

Source

type GetReceiveBufferResponseFut: Future<Output = Result<BaseSocketGetReceiveBufferResult, Error>> + Send

Source

type SetKeepAliveResponseFut: Future<Output = Result<BaseSocketSetKeepAliveResult, Error>> + Send

Source

type GetKeepAliveResponseFut: Future<Output = Result<BaseSocketGetKeepAliveResult, Error>> + Send

Source

type SetOutOfBandInlineResponseFut: Future<Output = Result<BaseSocketSetOutOfBandInlineResult, Error>> + Send

Source

type GetOutOfBandInlineResponseFut: Future<Output = Result<BaseSocketGetOutOfBandInlineResult, Error>> + Send

Source

type SetNoCheckResponseFut: Future<Output = Result<BaseSocketSetNoCheckResult, Error>> + Send

Source

type GetNoCheckResponseFut: Future<Output = Result<BaseSocketGetNoCheckResult, Error>> + Send

Source

type SetLingerResponseFut: Future<Output = Result<BaseSocketSetLingerResult, Error>> + Send

Source

type GetLingerResponseFut: Future<Output = Result<BaseSocketGetLingerResult, Error>> + Send

Source

type SetReusePortResponseFut: Future<Output = Result<BaseSocketSetReusePortResult, Error>> + Send

Source

type GetReusePortResponseFut: Future<Output = Result<BaseSocketGetReusePortResult, Error>> + Send

Source

type GetAcceptConnResponseFut: Future<Output = Result<BaseSocketGetAcceptConnResult, Error>> + Send

Source

type SetBindToDeviceResponseFut: Future<Output = Result<BaseSocketSetBindToDeviceResult, Error>> + Send

Source

type GetBindToDeviceResponseFut: Future<Output = Result<BaseSocketGetBindToDeviceResult, Error>> + Send

Source

type SetBindToInterfaceIndexResponseFut: Future<Output = Result<BaseSocketSetBindToInterfaceIndexResult, Error>> + Send

Source

type GetBindToInterfaceIndexResponseFut: Future<Output = Result<BaseSocketGetBindToInterfaceIndexResult, Error>> + Send

Source

type SetTimestampResponseFut: Future<Output = Result<BaseSocketSetTimestampResult, Error>> + Send

Source

type GetTimestampResponseFut: Future<Output = Result<BaseSocketGetTimestampResult, Error>> + Send

Source

type SetMarkResponseFut: Future<Output = Result<BaseSocketSetMarkResult, Error>> + Send

Source

type GetMarkResponseFut: Future<Output = Result<BaseSocketGetMarkResult, Error>> + Send

Required Methods§

Source

fn clone2(&self, request: ServerEnd<CloneableMarker>) -> Result<(), Error>

Source

fn close(&self) -> Self::CloseResponseFut

Source

fn query(&self) -> Self::QueryResponseFut

Source

fn set_reuse_address(&self, value: bool) -> Self::SetReuseAddressResponseFut

Source

fn get_reuse_address(&self) -> Self::GetReuseAddressResponseFut

Source

fn get_error(&self) -> Self::GetErrorResponseFut

Source

fn set_broadcast(&self, value: bool) -> Self::SetBroadcastResponseFut

Source

fn get_broadcast(&self) -> Self::GetBroadcastResponseFut

Source

fn set_send_buffer(&self, value_bytes: u64) -> Self::SetSendBufferResponseFut

Source

fn get_send_buffer(&self) -> Self::GetSendBufferResponseFut

Source

fn set_receive_buffer( &self, value_bytes: u64, ) -> Self::SetReceiveBufferResponseFut

Source

fn get_receive_buffer(&self) -> Self::GetReceiveBufferResponseFut

Source

fn set_keep_alive(&self, value: bool) -> Self::SetKeepAliveResponseFut

Source

fn get_keep_alive(&self) -> Self::GetKeepAliveResponseFut

Source

fn set_out_of_band_inline( &self, value: bool, ) -> Self::SetOutOfBandInlineResponseFut

Source

fn get_out_of_band_inline(&self) -> Self::GetOutOfBandInlineResponseFut

Source

fn set_no_check(&self, value: bool) -> Self::SetNoCheckResponseFut

Source

fn get_no_check(&self) -> Self::GetNoCheckResponseFut

Source

fn set_linger( &self, linger: bool, length_secs: u32, ) -> Self::SetLingerResponseFut

Source

fn get_linger(&self) -> Self::GetLingerResponseFut

Source

fn set_reuse_port(&self, value: bool) -> Self::SetReusePortResponseFut

Source

fn get_reuse_port(&self) -> Self::GetReusePortResponseFut

Source

fn get_accept_conn(&self) -> Self::GetAcceptConnResponseFut

Source

fn set_bind_to_device(&self, value: &str) -> Self::SetBindToDeviceResponseFut

Source

fn get_bind_to_device(&self) -> Self::GetBindToDeviceResponseFut

Source

fn set_bind_to_interface_index( &self, value: u64, ) -> Self::SetBindToInterfaceIndexResponseFut

Source

fn get_bind_to_interface_index( &self, ) -> Self::GetBindToInterfaceIndexResponseFut

Source

fn set_timestamp(&self, value: TimestampOption) -> Self::SetTimestampResponseFut

Source

fn get_timestamp(&self) -> Self::GetTimestampResponseFut

Source

fn set_mark( &self, domain: MarkDomain, mark: &OptionalUint32, ) -> Self::SetMarkResponseFut

Source

fn get_mark(&self, domain: MarkDomain) -> Self::GetMarkResponseFut

Implementors§

Source§

impl BaseSocketProxyInterface for BaseSocketProxy

Source§

type CloseResponseFut = QueryResponseFut<Result<(), i32>>

Source§

type QueryResponseFut = QueryResponseFut<Vec<u8>>

Source§

type SetReuseAddressResponseFut = QueryResponseFut<Result<(), Errno>>

Source§

type GetReuseAddressResponseFut = QueryResponseFut<Result<bool, Errno>>

Source§

type GetErrorResponseFut = QueryResponseFut<Result<(), Errno>>

Source§

type SetBroadcastResponseFut = QueryResponseFut<Result<(), Errno>>

Source§

type GetBroadcastResponseFut = QueryResponseFut<Result<bool, Errno>>

Source§

type SetSendBufferResponseFut = QueryResponseFut<Result<(), Errno>>

Source§

type GetSendBufferResponseFut = QueryResponseFut<Result<u64, Errno>>

Source§

type SetReceiveBufferResponseFut = QueryResponseFut<Result<(), Errno>>

Source§

type GetReceiveBufferResponseFut = QueryResponseFut<Result<u64, Errno>>

Source§

type SetKeepAliveResponseFut = QueryResponseFut<Result<(), Errno>>

Source§

type GetKeepAliveResponseFut = QueryResponseFut<Result<bool, Errno>>

Source§

type SetOutOfBandInlineResponseFut = QueryResponseFut<Result<(), Errno>>

Source§

type GetOutOfBandInlineResponseFut = QueryResponseFut<Result<bool, Errno>>

Source§

type SetNoCheckResponseFut = QueryResponseFut<Result<(), Errno>>

Source§

type GetNoCheckResponseFut = QueryResponseFut<Result<bool, Errno>>

Source§

type SetLingerResponseFut = QueryResponseFut<Result<(), Errno>>

Source§

type GetLingerResponseFut = QueryResponseFut<Result<(bool, u32), Errno>>

Source§

type SetReusePortResponseFut = QueryResponseFut<Result<(), Errno>>

Source§

type GetReusePortResponseFut = QueryResponseFut<Result<bool, Errno>>

Source§

type GetAcceptConnResponseFut = QueryResponseFut<Result<bool, Errno>>

Source§

type SetBindToDeviceResponseFut = QueryResponseFut<Result<(), Errno>>

Source§

type GetBindToDeviceResponseFut = QueryResponseFut<Result<String, Errno>>

Source§

type SetBindToInterfaceIndexResponseFut = QueryResponseFut<Result<(), Errno>>

Source§

type GetBindToInterfaceIndexResponseFut = QueryResponseFut<Result<u64, Errno>>

Source§

type SetTimestampResponseFut = QueryResponseFut<Result<(), Errno>>

Source§

type GetTimestampResponseFut = QueryResponseFut<Result<TimestampOption, Errno>>

Source§

type SetMarkResponseFut = QueryResponseFut<Result<(), Errno>>

Source§

type GetMarkResponseFut = QueryResponseFut<Result<OptionalUint32, Errno>>