MCPcopy Create free account

hub / github.com/Wodann/io-bluetooth-rs / functions

Functions128 in github.com/Wodann/io-bluetooth-rs

Methodrecv_from
(&self, buf: &mut [u8])
src/sys/unix/bt.rs:205
Methodrecv_from
(&self, buf: &mut [u8])
src/sys/windows/bt.rs:233
Methodrecv_from
(&self, buf: &mut [u8])
src/sys_common/bt.rs:205
Methodsend
(&self, buf: &[u8])
src/sys_common/bt.rs:209
Methodsend_to
Sends data on the socket to the given address. On success, returns the number of bytes written.
src/bt/mod.rs:308
Methodsend_to
(&self, buf: &[u8], dst: &BtAddr)
src/sys_common/bt.rs:221
Methodset_nonblocking
Moves this Bluetooth stream into or out of nonblocking mode. This will result in the `accept` operation becoming nonblocking, i.e., immediately retur
src/bt/mod.rs:152
Methodset_nonblocking
(&self, nonblocking: bool)
src/sys/unix/fd.rs:212
Methodset_nonblocking
(&self, nonblocking: bool)
src/sys_common/bt.rs:114
Methodset_read_timeout
Sets the read timeout to the timeout specified. If the value specified is [`None`], then [`read`] calls will block indefinitely. An [`Err`] is return
src/bt/mod.rs:382
Methodset_read_timeout
(&self, dur: Option<Duration>)
src/sys_common/bt.rs:244
Methodset_timeout
(&self, dur: Option<Duration>, kind: c_int)
src/sys/windows/bt.rs:289
Methodset_write_timeout
Sets the write timeout to the timeout specified. If the value specified is [`None`], then [`write`] calls will block indefinitely. An [`Err`] is retu
src/bt/mod.rs:415
Methodset_write_timeout
(&self, dur: Option<Duration>)
src/sys_common/bt.rs:252
Methodshutdown
Shuts down the read, write, or both halves of this connection. This function will cause all pending and future I/O on the specified portions to retur
src/bt/mod.rs:325
Methodshutdown
(&self, how: Shutdown)
src/sys/unix/bt.rs:281
Methodshutdown
(&self, how: Shutdown)
src/sys/windows/bt.rs:330
Methodshutdown
(&self, how: Shutdown)
src/sys_common/bt.rs:236
Methodsocket
(&self)
src/sys_common/bt.rs:130
Methodtake_error
Get the value of the `SO_ERROR` option on this socket. This will retrieve the stored error in the underlying socket, clearing the field in the proces
src/bt/mod.rs:139
Methodtake_error
(&self)
src/sys_common/bt.rs:122
Methodtimeout
(&self, kind: c_int)
src/sys/windows/bt.rs:306
Methodtry_clone
Creates a new independently owned handle to the underlying socket. The returned [`BtListener`] is a reference to the same socket that this object ref
src/bt/mod.rs:163
Methodwrite
(&mut self, buf: &[u8])
src/bt/mod.rs:458
Methodwrite
(&self, buf: &[u8])
src/sys/unix/fd.rs:113
Methodwrite_at
(&self, buf: &[u8], offset: u64)
src/sys/unix/fd.rs:124
Methodwrite_timeout
Returns the write timeout of this socket. If the timeout is [`None`], then [`write`] calls will block indefinitely. [`None`]: https://doc.rust-lang.
src/bt/mod.rs:392
Methodwrite_timeout
(&self)
src/sys_common/bt.rs:248
← previous101–128 of 128, ranked by callers