spin_
world
2.8.0-pre0
Module network
Module Items
Structs
Enums
Traits
Functions
Type Aliases
In spin_
world::
wasi::
sockets0_
2_
0
spin_world
::
wasi
::
sockets0_2_0
Module
network
Copy item path
Source
Structs
§
Ipv4
Socket
Address
Ipv6
Socket
Address
Enums
§
Error
Code
Error codes.
IpAddress
IpAddress
Family
IpSocket
Address
Network
An opaque resource that represents access to (a subset of) the network. This enables context-based security for networking. There is no need for this to map 1:1 to a physical network interface.
Traits
§
GetHost
Host
Host
Network
Functions
§
add_
to_
linker
add_
to_
linker_
get_
host
Type Aliases
§
Ipv4
Address
Ipv6
Address