[−][src]Trait gio::prelude::SocketExtManual
Required methods
fn receive<'a, B: AsMut<[u8]>, P: Into<Option<&'a Cancellable>>>(
&self,
buffer: B,
cancellable: P
) -> Result<usize, Error>
&self,
buffer: B,
cancellable: P
) -> Result<usize, Error>
fn receive_from<'a, B: AsMut<[u8]>, P: Into<Option<&'a Cancellable>>>(
&self,
buffer: B,
cancellable: P
) -> Result<(usize, SocketAddress), Error>
&self,
buffer: B,
cancellable: P
) -> Result<(usize, SocketAddress), Error>
fn receive_with_blocking<'a, B: AsMut<[u8]>, P: Into<Option<&'a Cancellable>>>(
&self,
buffer: B,
blocking: bool,
cancellable: P
) -> Result<usize, Error>
&self,
buffer: B,
blocking: bool,
cancellable: P
) -> Result<usize, Error>
fn send<'a, B: AsRef<[u8]>, P: Into<Option<&'a Cancellable>>>(
&self,
buffer: B,
cancellable: P
) -> Result<usize, Error>
&self,
buffer: B,
cancellable: P
) -> Result<usize, Error>
fn send_to<'a, 'b, B: AsRef<[u8]>, P: IsA<SocketAddress> + 'a, Q: Into<Option<&'a P>>, R: Into<Option<&'b Cancellable>>>(
&self,
address: Q,
buffer: B,
cancellable: R
) -> Result<usize, Error>
&self,
address: Q,
buffer: B,
cancellable: R
) -> Result<usize, Error>
fn send_with_blocking<'a, B: AsRef<[u8]>, P: Into<Option<&'a Cancellable>>>(
&self,
buffer: B,
blocking: bool,
cancellable: P
) -> Result<usize, Error>
&self,
buffer: B,
blocking: bool,
cancellable: P
) -> Result<usize, Error>
fn get_fd<T: FromRawFd>(&self) -> T
fn create_source<'a, 'b, N: Into<Option<&'b str>>, P: Into<Option<&'a Cancellable>>, F>(
&self,
condition: IOCondition,
cancellable: P,
name: N,
priority: Priority,
func: F
) -> Source where
F: FnMut(&Self, IOCondition) -> Continue + 'static,
&self,
condition: IOCondition,
cancellable: P,
name: N,
priority: Priority,
func: F
) -> Source where
F: FnMut(&Self, IOCondition) -> Continue + 'static,
Implementors
impl<O: IsA<Socket>> SocketExtManual for O
[src]
fn receive<'a, B: AsMut<[u8]>, P: Into<Option<&'a Cancellable>>>(
&self,
buffer: B,
cancellable: P
) -> Result<usize, Error>
[src]
&self,
buffer: B,
cancellable: P
) -> Result<usize, Error>
fn receive_from<'a, B: AsMut<[u8]>, P: Into<Option<&'a Cancellable>>>(
&self,
buffer: B,
cancellable: P
) -> Result<(usize, SocketAddress), Error>
[src]
&self,
buffer: B,
cancellable: P
) -> Result<(usize, SocketAddress), Error>
fn receive_with_blocking<'a, B: AsMut<[u8]>, P: Into<Option<&'a Cancellable>>>(
&self,
buffer: B,
blocking: bool,
cancellable: P
) -> Result<usize, Error>
[src]
&self,
buffer: B,
blocking: bool,
cancellable: P
) -> Result<usize, Error>
fn send<'a, B: AsRef<[u8]>, P: Into<Option<&'a Cancellable>>>(
&self,
buffer: B,
cancellable: P
) -> Result<usize, Error>
[src]
&self,
buffer: B,
cancellable: P
) -> Result<usize, Error>
fn send_to<'a, 'b, B: AsRef<[u8]>, P: IsA<SocketAddress> + 'a, Q: Into<Option<&'a P>>, R: Into<Option<&'b Cancellable>>>(
&self,
address: Q,
buffer: B,
cancellable: R
) -> Result<usize, Error>
[src]
&self,
address: Q,
buffer: B,
cancellable: R
) -> Result<usize, Error>
fn send_with_blocking<'a, B: AsRef<[u8]>, P: Into<Option<&'a Cancellable>>>(
&self,
buffer: B,
blocking: bool,
cancellable: P
) -> Result<usize, Error>
[src]
&self,
buffer: B,
blocking: bool,
cancellable: P
) -> Result<usize, Error>
fn get_fd<T: FromRawFd>(&self) -> T
[src]
fn create_source<'a, 'b, N: Into<Option<&'b str>>, P: Into<Option<&'a Cancellable>>, F>(
&self,
condition: IOCondition,
cancellable: P,
name: N,
priority: Priority,
func: F
) -> Source where
F: FnMut(&Self, IOCondition) -> Continue + 'static,
[src]
&self,
condition: IOCondition,
cancellable: P,
name: N,
priority: Priority,
func: F
) -> Source where
F: FnMut(&Self, IOCondition) -> Continue + 'static,