Skip to main content

Crate rustyphoenixsocket

Crate rustyphoenixsocket 

Source

Structs§

PEmptySocketBackend
Dummy empty backend
PGenericSocket
Switcher between two backends
PGenericSocketManager
Socket manager for PGenericSocket
PSocketParam
Parameters to create a socket

Enums§

PRecvFlag
describe the receiving flag of the Socket
PRecvStatus
describe the result of the recv
PSendFlag
Describe the sending flag of the Socket
PSendStatus
Describe the result of the send
PSocketMode
The Socket mode determine how the PGenericSocket will behave :

Traits§

AbstractSocket
Abtract implementation of a socket. It can send and recieved arbitrary data and can also be close and tell if it is connected to and other socket.
AbstractSocketBackend
Abtract implementation of a socket backend. It defines what is a socket type, the type of the extra parameters to be used to initialise its sockets and also what is the type of message to be used with this particular bakend.
AbstractSocketMock
Abtract implementation of a socket mock