Home
last modified time | relevance | path

Searched refs:SocketError (Results 1 – 13 of 13) sorted by relevance

/wasmtime-44.0.1/crates/wasi/src/p2/host/
H A Dtcp.rs284 SocketError,
308 ) -> Result<(), SocketError> { in start_bind() argument
323 ) -> Result<(), SocketError> { in start_connect() argument
353 SocketError, in accept() argument
387 ) -> Result<(), SocketError> { in set_listen_backlog_size() argument
399 ) -> Result<(), SocketError> { in set_keep_alive_enabled() argument
414 ) -> Result<(), SocketError> { in set_keep_alive_idle_time() argument
429 ) -> Result<(), SocketError> { in set_keep_alive_interval() argument
441 ) -> Result<(), SocketError> { in set_keep_alive_count() argument
453 ) -> Result<(), SocketError> { in set_hop_limit() argument
[all …]
H A Dudp.rs4 use crate::p2::{Pollable, SocketError, SocketResult};
57 return Err(SocketError::trap(format_err!( in stream()
409 SocketError,
439 ) -> Result<(), SocketError> { in start_bind() argument
458 SocketError, in stream() argument
466 ) -> Result<IpSocketAddress, SocketError> { in local_address() argument
492 ) -> Result<(), SocketError> { in set_unicast_hop_limit() argument
504 ) -> Result<(), SocketError> { in set_receive_buffer_size() argument
516 ) -> Result<(), SocketError> { in set_send_buffer_size() argument
575 ) -> Result<u64, SocketError> { in check_send() argument
[all …]
H A Dnetwork.rs1 use crate::p2::SocketError;
14 fn convert_error_code(&mut self, error: SocketError) -> wasmtime::Result<ErrorCode> { in convert_error_code()
/wasmtime-44.0.1/crates/wasi/src/p2/
H A Dnetwork.rs6 pub type SocketResult<T> = Result<T, SocketError>;
8 pub type SocketError = TrappableError<ErrorCode>; typedef
10 impl From<wasmtime::component::ResourceTableError> for SocketError { implementation
16 impl From<std::io::Error> for SocketError { implementation
22 impl From<rustix::io::Errno> for SocketError { implementation
28 impl From<crate::sockets::util::ErrorCode> for SocketError { implementation
H A Dip_name_lookup.rs1 use crate::p2::SocketError;
17 Waiting(AbortOnDropJoinHandle<Result<Vec<IpAddress>, SocketError>>),
18 Done(Result<vec::IntoIter<IpAddress>, SocketError>),
26 ) -> Result<Resource<ResolveAddressStream>, SocketError> { in resolve_addresses() argument
45 ) -> Result<Option<IpAddress>, SocketError> { in resolve_next_address() argument
88 fn blocking_resolve(host: &url::Host) -> Result<Vec<IpAddress>, SocketError> { in blocking_resolve() argument
H A Dbindings.rs145 use crate::p2::{FsError, SocketError};
154 "wasi:sockets/network.error-code" => SocketError,
379 "wasi:sockets/network.error-code" => crate::p2::SocketError,
H A Dtcp.rs2 DynInputStream, DynOutputStream, InputStream, OutputStream, Pollable, SocketError,
354 SocketError::trap(wasmtime::format_err!( in try_lock_for_socket()
H A Dmod.rs249 pub use self::network::{Network, SocketError, SocketResult};
/wasmtime-44.0.1/crates/wasi/src/p3/sockets/
H A Dmod.rs9 pub type SocketResult<T> = Result<T, SocketError>;
10 pub type SocketError = TrappableError<types::ErrorCode>; typedef
H A Dconv.rs2 use crate::p3::sockets::SocketError;
248 impl From<crate::sockets::util::ErrorCode> for SocketError { implementation
250 SocketError::from(types::ErrorCode::from(code)) in from()
/wasmtime-44.0.1/crates/wasi/src/p3/sockets/host/types/
H A Dmod.rs2 use crate::p3::sockets::{SocketError, WasiSockets};
11 fn convert_error_code(&mut self, error: SocketError) -> wasmtime::Result<ErrorCode> { in convert_error_code()
H A Dtcp.rs7 use crate::p3::sockets::{SocketError, SocketResult, WasiSockets};
33 .map_err(SocketError::trap) in get_socket()
43 .map_err(SocketError::trap) in get_socket_mut()
290 .map_err(SocketError::trap)?; in listen()
369 .map_err(SocketError::trap)?; in create()
/wasmtime-44.0.1/crates/wasi/src/p3/
H A Dbindings.rs106 "wasi:sockets/types.error-code" => crate::p3::sockets::SocketError,