Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Wodann/io-bluetooth-rs
/ functions
Functions
128 in github.com/Wodann/io-bluetooth-rs
⨍
Functions
128
◇
Types & classes
16
Method
recv_from
(&self, buf: &mut [u8])
src/sys/unix/bt.rs:205
Method
recv_from
(&self, buf: &mut [u8])
src/sys/windows/bt.rs:233
Method
recv_from
(&self, buf: &mut [u8])
src/sys_common/bt.rs:205
Method
send
(&self, buf: &[u8])
src/sys_common/bt.rs:209
Method
send_to
Sends data on the socket to the given address. On success, returns the number of bytes written.
src/bt/mod.rs:308
Method
send_to
(&self, buf: &[u8], dst: &BtAddr)
src/sys_common/bt.rs:221
Method
set_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
Method
set_nonblocking
(&self, nonblocking: bool)
src/sys/unix/fd.rs:212
Method
set_nonblocking
(&self, nonblocking: bool)
src/sys_common/bt.rs:114
Method
set_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
Method
set_read_timeout
(&self, dur: Option<Duration>)
src/sys_common/bt.rs:244
Method
set_timeout
(&self, dur: Option<Duration>, kind: c_int)
src/sys/windows/bt.rs:289
Method
set_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
Method
set_write_timeout
(&self, dur: Option<Duration>)
src/sys_common/bt.rs:252
Method
shutdown
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
Method
shutdown
(&self, how: Shutdown)
src/sys/unix/bt.rs:281
Method
shutdown
(&self, how: Shutdown)
src/sys/windows/bt.rs:330
Method
shutdown
(&self, how: Shutdown)
src/sys_common/bt.rs:236
Method
socket
(&self)
src/sys_common/bt.rs:130
Method
take_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
Method
take_error
(&self)
src/sys_common/bt.rs:122
Method
timeout
(&self, kind: c_int)
src/sys/windows/bt.rs:306
Method
try_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
Method
write
(&mut self, buf: &[u8])
src/bt/mod.rs:458
Method
write
(&self, buf: &[u8])
src/sys/unix/fd.rs:113
Method
write_at
(&self, buf: &[u8], offset: u64)
src/sys/unix/fd.rs:124
Method
write_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
Method
write_timeout
(&self)
src/sys_common/bt.rs:248
← previous
101–128 of 128, ranked by callers