[−][src]Trait gio::prelude::SocketListenerExt
Required methods
fn accept<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<(SocketConnection, Option<Object>), Error>
&self,
cancellable: Option<&P>
) -> Result<(SocketConnection, Option<Object>), Error>
fn accept_socket<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<(Socket, Option<Object>), Error>
&self,
cancellable: Option<&P>
) -> Result<(Socket, Option<Object>), Error>
fn add_address<P: IsA<SocketAddress>, Q: IsA<Object>>(
&self,
address: &P,
type_: SocketType,
protocol: SocketProtocol,
source_object: Option<&Q>
) -> Result<SocketAddress, Error>
&self,
address: &P,
type_: SocketType,
protocol: SocketProtocol,
source_object: Option<&Q>
) -> Result<SocketAddress, Error>
fn add_any_inet_port<P: IsA<Object>>(
&self,
source_object: Option<&P>
) -> Result<u16, Error>
&self,
source_object: Option<&P>
) -> Result<u16, Error>
fn add_inet_port<P: IsA<Object>>(
&self,
port: u16,
source_object: Option<&P>
) -> Result<(), Error>
&self,
port: u16,
source_object: Option<&P>
) -> Result<(), Error>
fn add_socket<P: IsA<Socket>, Q: IsA<Object>>(
&self,
socket: &P,
source_object: Option<&Q>
) -> Result<(), Error>
&self,
socket: &P,
source_object: Option<&Q>
) -> Result<(), Error>
fn close(&self)
fn set_backlog(&self, listen_backlog: i32)
fn get_property_listen_backlog(&self) -> i32
fn set_property_listen_backlog(&self, listen_backlog: i32)
fn connect_event<F: Fn(&Self, SocketListenerEvent, &Socket) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_listen_backlog_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<SocketListener>> SocketListenerExt for O
[src]
fn accept<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<(SocketConnection, Option<Object>), Error>
[src]
&self,
cancellable: Option<&P>
) -> Result<(SocketConnection, Option<Object>), Error>
fn accept_socket<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<(Socket, Option<Object>), Error>
[src]
&self,
cancellable: Option<&P>
) -> Result<(Socket, Option<Object>), Error>
fn add_address<P: IsA<SocketAddress>, Q: IsA<Object>>(
&self,
address: &P,
type_: SocketType,
protocol: SocketProtocol,
source_object: Option<&Q>
) -> Result<SocketAddress, Error>
[src]
&self,
address: &P,
type_: SocketType,
protocol: SocketProtocol,
source_object: Option<&Q>
) -> Result<SocketAddress, Error>
fn add_any_inet_port<P: IsA<Object>>(
&self,
source_object: Option<&P>
) -> Result<u16, Error>
[src]
&self,
source_object: Option<&P>
) -> Result<u16, Error>
fn add_inet_port<P: IsA<Object>>(
&self,
port: u16,
source_object: Option<&P>
) -> Result<(), Error>
[src]
&self,
port: u16,
source_object: Option<&P>
) -> Result<(), Error>
fn add_socket<P: IsA<Socket>, Q: IsA<Object>>(
&self,
socket: &P,
source_object: Option<&Q>
) -> Result<(), Error>
[src]
&self,
socket: &P,
source_object: Option<&Q>
) -> Result<(), Error>
fn close(&self)
[src]
fn set_backlog(&self, listen_backlog: i32)
[src]
fn get_property_listen_backlog(&self) -> i32
[src]
fn set_property_listen_backlog(&self, listen_backlog: i32)
[src]
fn connect_event<F: Fn(&Self, SocketListenerEvent, &Socket) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_listen_backlog_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId