mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-21 00:20:53 +00:00
integrate to android
This commit is contained in:
parent
62a04229db
commit
7442abece5
4 changed files with 86 additions and 0 deletions
|
@ -27,6 +27,13 @@ pub enum Error {
|
|||
#[error("smoltcp::socket::tcp::SendError {0:?}")]
|
||||
Send(#[from] smoltcp::socket::tcp::SendError),
|
||||
|
||||
#[error("std::str::Utf8Error {0:?}")]
|
||||
Utf8(#[from] std::str::Utf8Error),
|
||||
|
||||
#[cfg(target_os = "android")]
|
||||
#[error("jni::errors::Error {0:?}")]
|
||||
Jni(#[from] jni::errors::Error),
|
||||
|
||||
#[error("&str {0}")]
|
||||
Str(String),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue