Enum webrtc_util::Error [−][src]
#[non_exhaustive]
pub enum Error {
Show 54 variants
ErrBufferFull,
ErrBufferClosed,
ErrBufferShort,
ErrPacketTooBig,
ErrTimeout,
ErrClosedListener,
ErrListenQueueExceeded,
ErrClosedListenerAcceptCh,
ErrObsCannotBeNil,
ErrUseClosedNetworkConn,
ErrAddrNotUdpAddr,
ErrLocAddr,
ErrAlreadyClosed,
ErrNoRemAddr,
ErrAddressAlreadyInUse,
ErrNoSuchUdpConn,
ErrCannotRemoveUnspecifiedIp,
ErrNoAddressAssigned,
ErrNatRequriesMapping,
ErrMismatchLengthIp,
ErrNonUdpTranslationNotSupported,
ErrNoAssociatedLocalAddress,
ErrNoNatBindingFound,
ErrHasNoPermission,
ErrHostnameEmpty,
ErrFailedToParseIpaddr,
ErrNoInterface,
ErrNotFound,
ErrUnexpectedNetwork,
ErrCantAssignRequestedAddr,
ErrUnknownNetwork,
ErrNoRouterLinked,
ErrInvalidPortNumber,
ErrUnexpectedTypeSwitchFailure,
ErrBindFailed,
ErrEndPortLessThanStart,
ErrPortSpaceExhausted,
ErrVnetDisabled,
ErrInvalidLocalIpInStaticIps,
ErrLocalIpBeyondStaticIpsSubset,
ErrLocalIpNoStaticsIpsAssociated,
ErrRouterAlreadyStarted,
ErrRouterAlreadyStopped,
ErrStaticIpIsBeyondSubnet,
ErrAddressSpaceExhausted,
ErrNoIpaddrEth0,
ErrInvalidMask,
ParseIpnet(AddrParseError),
ParseIp(AddrParseError),
ParseInt(ParseIntError),
Io(IoError),
Utf8(FromUtf8Error),
Std(StdError),
Other(String),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ErrBufferFull
ErrBufferClosed
ErrBufferShort
ErrPacketTooBig
ErrTimeout
ErrClosedListener
ErrListenQueueExceeded
ErrClosedListenerAcceptCh
ErrObsCannotBeNil
ErrUseClosedNetworkConn
ErrAddrNotUdpAddr
ErrLocAddr
ErrAlreadyClosed
ErrNoRemAddr
ErrAddressAlreadyInUse
ErrNoSuchUdpConn
ErrCannotRemoveUnspecifiedIp
ErrNoAddressAssigned
ErrNatRequriesMapping
ErrMismatchLengthIp
ErrNonUdpTranslationNotSupported
ErrNoAssociatedLocalAddress
ErrNoNatBindingFound
ErrHasNoPermission
ErrHostnameEmpty
ErrFailedToParseIpaddr
ErrNoInterface
ErrNotFound
ErrUnexpectedNetwork
ErrCantAssignRequestedAddr
ErrUnknownNetwork
ErrNoRouterLinked
ErrInvalidPortNumber
ErrUnexpectedTypeSwitchFailure
ErrBindFailed
ErrEndPortLessThanStart
ErrPortSpaceExhausted
ErrVnetDisabled
ErrInvalidLocalIpInStaticIps
ErrLocalIpBeyondStaticIpsSubset
ErrLocalIpNoStaticsIpsAssociated
ErrRouterAlreadyStarted
ErrRouterAlreadyStopped
ErrStaticIpIsBeyondSubnet
ErrAddressSpaceExhausted
ErrNoIpaddrEth0
ErrInvalidMask
ParseIpnet(AddrParseError)
Tuple Fields
ParseIp(AddrParseError)
Tuple Fields
ParseInt(ParseIntError)
Tuple Fields
Io(IoError)
Utf8(FromUtf8Error)
Tuple Fields
Std(StdError)
Other(String)
Tuple Fields
0: String
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.