Lines Matching refs:io
30 use std::io::{self, ErrorKind};
69 pub async fn handle_message(res: io::Result<TaskMessage>, session_id: u32) -> io::Result<()> {
94 pub async fn bridge_daemon_start() -> io::Result<()> {
102 return Err(std::io::Error::new(
130 pub async fn bridge_handle_client(ptr: u64, fd: i32, client_fd: i32) -> io::Result<()> {
166 pub async fn tcp_handle_client(stream: TcpStream) -> io::Result<()> {
196 pub async fn tcp_daemon_start(port: u16) -> io::Result<()> {
222 pub async fn uart_daemon_start() -> io::Result<()> {
238 ) -> io::Result<u32> {
247 return Err(std::io::Error::new(
270 pub async fn uart_handle_client(fd: i32) -> io::Result<()> {
291 return Err(std::io::Error::new(
303 return Err(std::io::Error::new(ErrorKind::Other, "rd head clone file"));
349 return Err(std::io::Error::new(ErrorKind::Other, error_msg));
357 pub async fn usb_daemon_start() -> io::Result<()> {
374 pub async fn usb_handle_client(_config_fd: i32, bulkin_fd: i32, bulkout_fd: i32) -> io::Result<()> {