MCPcopy Create free account

hub / github.com/canndrew/netsim / types & classes

Types & classes35 in github.com/canndrew/netsim

ClassBiChannel
A bi-directional channel where both ends can both send and receive items.
src/device/channel.rs:5
ClassBuildConfig
src/iface/create.rs:3
ClassCbData
src/namespace.rs:98
ClassDelay
src/adapter/delay.rs:8
ClassDelayQueue
src/adapter/delay.rs:24
ClassIpChannel
A bi-directional channel for sending/receiving IP packets.
src/device/channel.rs:61
ClassIpHub
A simple IP network hub. Insert any number of interfaces into the hub and any packet received on one will be forwarded to all other interfaces.
src/device/hub.rs:7
ClassIpHubTask
src/device/hub.rs:11
ClassIpIface
A handle to a network interface of a [`Machine`](crate::Machine). This can be dropped to remove the interface. It also implements `Stream`+`Sink` in
src/iface/stream.rs:10
ClassIpIfaceBuilder
Builder for adding an IP interface to a [`Machine`](crate::Machine). Once you're done configuring the interface you must `await` the builder to actua
src/iface/create.rs:15
EnumIpPacketVersion
src/packet.rs:237
InterfaceIpSinkStream
Helper trait for types which are both `Sink`s and `Stream`s of `Box<IpPacket>`.
src/iface/stream.rs:138
ClassIpv4Hasher
src/packet.rs:16
ClassIpv4Network
src/network.rs:55
ClassIpv4NetworkIter
An iterator over the IPv4 addresses in an [`Ipv4Network`](crate::Ipv4Network).
src/network.rs:371
EnumIpv4PacketProtocol
src/packet.rs:301
ClassIpv6Network
src/network.rs:62
ClassIpv6NetworkIter
An iterator over the IPv6 addresses in an [`Ipv6Network`](crate::Ipv6Network).
src/network.rs:426
EnumIpv6PacketProtocol
src/packet.rs:392
ClassJitter
src/adapter/loss.rs:13
ClassJoinHandle
A handle to a future executing on a [`Machine`](crate::Machine). You can await a `JoinHandle` (or call [`join`](crate::JoinHandle::join)) to get the
src/machine.rs:21
ClassJoinHandle
src/namespace.rs:5
ClassLoss
src/adapter/loss.rs:7
ClassMachine
The entry point for this library. A machine has its own tokio runtime running in a separate network-isolated thread. Use [`spawn`](crate::Machine::sp
src/machine.rs:11
ClassNat
A simple NAT (network address translation) implementation. For testing network code across NATs.
src/device/nat/mod.rs:14
ClassNatBuilder
Builder for creating a [`Nat`](crate::device::Nat).
src/device/nat/mod.rs:19
ClassNatTask
src/device/nat/mod.rs:113
ClassNetworkParseError
src/network.rs:352
InterfacePointer
src/packet.rs:189
ClassPortMap
src/device/nat/port_map.rs:3
EnumRestrictions
src/device/nat/restrictions.rs:3
InterfaceSinkStreamExt
Extension trait for types which are both `Sink`s and `Stream`s.
src/stream_ext.rs:4
ClassTcpPacketFlags
src/packet.rs:155
Classifaddrmsg
src/sys.rs:5
Classrtattr
src/sys.rs:15