tcpea/client/types
Types
pub type ActiveValue {
True
False
Once
}
Constructors
-
True -
False -
Once
pub type ConnectOptions {
Active(ActiveValue)
Mode(ModeValue)
Inet
Inet6
}
Constructors
-
Active(ActiveValue) -
Mode(ModeValue) -
Inet -
Inet6
pub type Error {
Closed
Timeout
E2big
Eacces
Eaddrinuse
Eaddrnotavail
Eadv
Eafnosupport
Eagain
Ealign
Ealready
Ebade
Ebadf
Ebadfd
Ebadmsg
Ebadr
Ebadrpc
Ebadrqc
Ebadslt
Ebfont
Ebusy
Echild
Echrng
Ecomm
Econnaborted
Econnrefused
Econnreset
Edeadlk
Edeadlock
Edestaddrreq
Edirty
Edom
Edotdot
Edquot
Eduppkg
Eexist
Efault
Efbig
Ehostdown
Ehostunreach
Eidrm
Einit
Einprogress
Eintr
Einval
Eio
Eisconn
Eisdir
Eisnam
El2hlt
El2nsync
El3hlt
El3rst
Elbin
Elibacc
Elibbad
Elibexec
Elibmax
Elibscn
Elnrng
Eloop
Emfile
Emlink
Emsgsize
Emultihop
Enametoolong
Enavail
Enet
Enetdown
Enetreset
Enetunreach
Enfile
Enoano
Enobufs
Enocsi
Enodata
Enodev
Enoent
Enoexec
Enolck
Enolink
Enomem
Enomsg
Enonet
Enopkg
Enoprotoopt
Enospc
Enosr
Enosym
Enosys
Enotblk
Enotconn
Enotdir
Enotempty
Enotnam
Enotsock
Enotsup
Enotty
Enotuniq
Enxio
Eopnotsupp
Eperm
Epfnosupport
Epipe
Eproclim
Eprocunavail
Eprogmismatch
Eprogunavail
Eproto
Eprotonosupport
Eprototype
Erange
Erefused
Eremchg
Eremdev
Eremote
Eremoteio
Eremoterelease
Erofs
Erpcmismatch
Erremote
Eshutdown
Esocktnosupport
Espipe
Esrch
Esrmnt
Estale
Esuccess
Etime
Etimedout
Etoomanyrefs
Etxtbsy
Euclean
Eunatch
Eusers
Eversion
Ewouldblock
Exdev
Exfull
Nxdomain
}
Constructors
-
ClosedConnection has closed
-
TimeoutAction timed out
-
E2bigToo long argument list
-
EaccesPermission denied
-
EaddrinuseAddress already in use
-
EaddrnotavailCannot assign requested address
-
EadvAdvertise error
-
EafnosupportAddress family not supported by protocol family
-
EagainResource temporarily unavailable
-
EalignEALIGN
-
EalreadyOperation already in progress
-
EbadeBad exchange descriptor
-
EbadfBad file number
-
EbadfdFile descriptor in bad state
-
EbadmsgNot a data message
-
EbadrBad request descriptor
-
EbadrpcBad RPC structure
-
EbadrqcBad request code
-
EbadsltInvalid slot
-
EbfontBad font file format
-
EbusyFile busy
-
EchildNo children
-
EchrngChannel number out of range
-
EcommCommunication error on send
-
EconnabortedSoftware caused connection abort
-
EconnrefusedConnection refused
-
EconnresetConnection reset by peer
-
EdeadlkResource deadlock avoided
-
EdeadlockResource deadlock avoided
-
EdestaddrreqDestination address required
-
EdirtyMounting a dirty fs without force
-
EdomMath argument out of range
-
EdotdotCross mount point
-
EdquotDisk quota exceeded
-
EduppkgDuplicate package name
-
EexistFile already exists
-
EfaultBad address in system call argument
-
EfbigFile too large
-
EhostdownHost is down
-
EhostunreachHost is unreachable
-
EidrmIdentifier removed
-
EinitInitialization error
-
EinprogressOperation now in progress
-
EintrInterrupted system call
-
EinvalInvalid argument
-
EioI/O error
-
EisconnSocket is already connected
-
EisdirIllegal operation on a directory
-
EisnamIs a named file
-
El2hltLevel 2 halted
-
El2nsyncLevel 2 not synchronized
-
El3hltLevel 3 halted
-
El3rstLevel 3 reset
-
ElbinELBIN
-
ElibaccCannot access a needed shared library
-
ElibbadAccessing a corrupted shared library
-
ElibexecCannot exec a shared library directly
-
ElibmaxAttempting to link in more shared libraries than system limit
-
Elibscn.lib section in a.out corrupted
-
ElnrngLink number out of range
-
EloopToo many levels of symbolic links
-
EmfileToo many open files
-
EmlinkToo many links
-
EmsgsizeMessage too long
-
EmultihopMultihop attempted
-
EnametoolongFilename too long
-
EnavailUnavailable
-
EnetENET
-
EnetdownNetwork is down
-
EnetresetNetwork dropped connection on reset
-
EnetunreachNetwork is unreachable
-
EnfileFile table overflow
-
EnoanoAnode table overflow
-
EnobufsNo buffer space available
-
EnocsiNo CSI structure available
-
EnodataNo data available
-
EnodevNo such device
-
EnoentNo such file or directory
-
EnoexecExec format error
-
EnolckNo locks available
-
EnolinkLink has been severed
-
EnomemNot enough memory
-
EnomsgNo message of desired type
-
EnonetMachine is not on the network
-
EnopkgPackage not installed
-
EnoprotooptBad protocol option
-
EnospcNo space left on device
-
EnosrOut of stream resources or not a stream device
-
EnosymUnresolved symbol name
-
EnosysFunction not implemented
-
EnotblkBlock device required
-
EnotconnSocket is not connected
-
EnotdirNot a directory
-
EnotemptyDirectory not empty
-
EnotnamNot a named file
-
EnotsockSocket operation on non-socket
-
EnotsupOperation not supported
-
EnottyInappropriate device for ioctl
-
EnotuniqName not unique on network
-
EnxioNo such device or address
-
EopnotsuppOperation not supported on socket
-
EpermNot owner
-
EpfnosupportProtocol family not supported
-
EpipeBroken pipe
-
EproclimToo many processes
-
EprocunavailBad procedure for program
-
EprogmismatchWrong program version
-
EprogunavailRPC program unavailable
-
EprotoProtocol error
-
EprotonosupportProtocol not supported
-
EprototypeWrong protocol type for socket
-
ErangeMath result unrepresentable
-
ErefusedEREFUSED
-
EremchgRemote address changed
-
EremdevRemote device
-
EremotePathname hit remote filesystem
-
EremoteioRemote I/O error
-
EremotereleaseEREMOTERELEASE
-
ErofsRead-only filesystem
-
ErpcmismatchWrong RPC version
-
ErremoteObject is remote
-
EshutdownCannot send after socket shutdown
-
EsocktnosupportSocket type not supported
-
EspipeInvalid seek
-
EsrchNo such process
-
EsrmntSrmount error
-
EstaleStale remote file handle
-
EsuccessError 0
-
EtimeTimer expired
-
EtimedoutConnection timed out
-
EtoomanyrefsToo many references
-
EtxtbsyText file or pseudo-device busy
-
EucleanStructure needs cleaning
-
EunatchProtocol driver not attached
-
EusersToo many users
-
EversionVersion mismatch
-
EwouldblockOperation would block
-
ExdevCross-device link
-
ExfullMessage tables full
-
NxdomainHostname or domain name cannot be found
pub type IpVersion {
Ipv4
Ipv6
Transparent
}
Constructors
-
Ipv4 -
Ipv6 -
TransparentHappyEyeballs (RFC 8305 is used)
pub type ShutdownOptions {
Read
Write
ReadWrite
}
Constructors
-
Read -
Write -
ReadWrite
pub type TcpeaOptions {
TcpeaOptions(
host: String,
port: Int,
timeout: Int,
ip_version: IpVersion,
)
}
Constructors
-
TcpeaOptions( host: String, port: Int, timeout: Int, ip_version: IpVersion, )