Struct asio::local::LocalStreamSocket
[−]
[src]
pub struct LocalStreamSocket { // some fields omitted }
pub struct LocalStreamSocket { // some fields omitted }
impl LocalStreamSocket
[src]impl AsRawFd for LocalStreamSocket
[src]impl NonBlocking for LocalStreamSocket
[src]fn get_non_blocking(&self) -> bool
fn set_non_blocking(&self, on: bool)
fn native_get_non_blocking(&self) -> Result<bool>
fn native_set_non_blocking(&self, on: bool) -> Result<()>
impl Socket for LocalStreamSocket
[src]type Protocol = LocalStream
type Endpoint = LocalStreamEndpoint
fn bind(&self, ep: &Self::Endpoint) -> Result<()>
fn local_endpoint(&self) -> Result<Self::Endpoint>
fn io_control<T: IoControl<Self>>(&self, cmd: &mut T) -> Result<()>
fn get_option<T: GetSocketOption<Self>>(&self) -> Result<T>
fn set_option<T: SetSocketOption<Self>>(&self, cmd: &T) -> Result<()>
impl ReadWrite for LocalStreamSocket
[src]fn read_some<T: IoObject>(&self, io: &T, buf: &mut [u8]) -> Result<usize>
fn async_read_some<A, F, T>(a: A, callback: F, obj: &Strand<T>) where A: Fn(&mut T) -> (&Self, &mut [u8]) + Send + 'static, F: FnOnce(Strand<T>, Result<usize>) + Send + 'static, T: 'static
fn write_some<T: IoObject>(&self, io: &T, buf: &[u8]) -> Result<usize>
fn async_write_some<A, F, T>(a: A, callback: F, obj: &Strand<T>) where A: Fn(&T) -> (&Self, &[u8]) + Send + 'static, F: FnOnce(Strand<T>, Result<usize>) + Send + 'static, T: 'static
fn async_read_until<A, C, F, T>(a: A, cond: C, callback: F, obj: &Strand<T>) where A: Fn(&mut T) -> (&Self, &mut StreamBuf) + Send + 'static, C: MatchCondition + Send + 'static, F: FnOnce(Strand<T>, Result<usize>) + Send + 'static, T: 'static
fn async_write_until<A, C, F, T>(a: A, cond: C, callback: F, obj: &Strand<T>) where A: Fn(&mut T) -> (&Self, &mut StreamBuf) + Send, C: MatchCondition + Send, F: FnOnce(Strand<T>, Result<usize>) + Send
impl Cancel for LocalStreamSocket
[src]impl SocketConnector for LocalStreamSocket
[src]fn connect<T: IoObject>(&self, io: &T, ep: &Self::Endpoint) -> Result<()>
fn async_connect<A, F, T>(a: A, ep: &Self::Endpoint, callback: F, obj: &Strand<T>) where A: Fn(&T) -> &Self + Send + 'static, F: FnOnce(Strand<T>, Result<()>) + Send + 'static, T: 'static
fn remote_endpoint(&self) -> Result<Self::Endpoint>
fn available(&self) -> Result<usize>
impl SendRecv for LocalStreamSocket
[src]fn recv<T: IoObject>(&self, io: &T, buf: &mut [u8], flags: i32) -> Result<usize>
fn async_recv<A, F, T>(a: A, flags: i32, callback: F, obj: &Strand<T>) where A: Fn(&mut T) -> (&Self, &mut [u8]) + Send + 'static, F: FnOnce(Strand<T>, Result<usize>) + Send + 'static, T: 'static
fn send<T: IoObject>(&self, io: &T, buf: &[u8], flags: i32) -> Result<usize>
fn async_send<A, F, T>(a: A, flags: i32, callback: F, obj: &Strand<T>) where A: Fn(&T) -> (&Self, &[u8]) + Send + 'static, F: FnOnce(Strand<T>, Result<usize>) + Send + 'static, T: 'static
impl StreamSocket for LocalStreamSocket
[src]