Enum webrtc_ice::Error [−][src]
#[non_exhaustive]
pub enum Error {
Show 64 variants
ErrUnknownType,
ErrSchemeType,
ErrStunQuery,
ErrInvalidQuery,
ErrHost,
ErrPort,
ErrLocalUfragInsufficientBits,
ErrLocalPwdInsufficientBits,
ErrProtoType,
ErrClosed,
ErrNoCandidatePairs,
ErrCanceledByCaller,
ErrMultipleStart,
ErrRemoteUfragEmpty,
ErrRemotePwdEmpty,
ErrNoOnCandidateHandler,
ErrMultipleGatherAttempted,
ErrUsernameEmpty,
ErrPasswordEmpty,
ErrAddressParseFailed,
ErrLiteUsingNonHostCandidates,
ErrUselessUrlsProvided,
ErrUnsupportedNat1to1IpCandidateType,
ErrInvalidNat1to1IpMapping,
ErrExternalMappedIpNotFound,
ErrMulticastDnsWithNat1to1IpMapping,
ErrIneffectiveNat1to1IpMappingHost,
ErrIneffectiveNat1to1IpMappingSrflx,
ErrInvalidMulticastDnshostName,
ErrRestartWhenGathering,
ErrRunCanceled,
ErrTcpMuxNotInitialized,
ErrTcpRemoteAddrAlreadyExists,
ErrSendPacket,
ErrAttributeTooShortIceCandidate,
ErrParseComponent,
ErrParsePriority,
ErrParsePort,
ErrParseRelatedAddr,
ErrParseType,
ErrUnknownCandidateType,
ErrGetXorMappedAddrResponse,
ErrConnectionAddrAlreadyExist,
ErrReadingStreamingPacket,
ErrWriting,
ErrClosingConnection,
ErrDetermineNetworkType,
ErrMissingProtocolScheme,
ErrTooManyColonsAddr,
ErrRead,
ErrUnknownRole,
ErrMismatchUsername,
ErrIceWriteStunMessage,
ErrInvalidUrl,
ErrUrlParse,
ParseInt(ParseIntError),
ParseIp(AddrParseError),
Io(IoError),
Util(Error),
Stun(Error),
ParseUrl(ParseError),
Mdns(Error),
Turn(Error),
Other(String),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Indicates an error with Unknown info.
Indicates the scheme type could not be parsed.
Indicates query arguments are provided in a STUN URL.
Indicates an malformed query is provided.
Indicates malformed hostname is provided.
Indicates malformed port is provided.
Indicates local username fragment insufficient bits are provided. Have to be at least 24 bits long.
Indicates local passoword insufficient bits are provided. Have to be at least 128 bits long.
Indicates an unsupported transport type was provided.
Indicates the agent is closed.
Indicates agent does not have a valid candidate pair.
Indicates agent connection was canceled by the caller.
Indicates agent was started twice.
Indicates agent was started with an empty remote ufrag.
Indicates agent was started with an empty remote pwd.
Indicates agent was started without on_candidate.
Indicates GatherCandidates has been called multiple times.
Indicates agent was give TURN URL with an empty Username.
Indicates agent was give TURN URL with an empty Password.
Indicates we were unable to parse a candidate address.
Indicates that non host candidates were selected for a lite agent.
Indicates that one or more URL was provided to the agent but no host candidate required them.
Indicates that the specified NAT1To1IPCandidateType is unsupported.
Indicates that the given 1:1 NAT IP mapping is invalid.
IPNotFound in NAT1To1IPMapping.
Indicates that the mDNS gathering cannot be used along with 1:1 NAT IP mapping for host candidate.
Indicates that 1:1 NAT IP mapping for host candidate is requested, but the host candidate type is disabled.
Indicates that 1:1 NAT IP mapping for srflx candidate is requested, but the srflx candidate type is disabled.
Indicates an invalid MulticastDNSHostName.
Indicates Restart was called when Agent is in GatheringStateGathering.
Indicates a run operation was canceled by its individual done.
Initialized Indicates TCPMux is not initialized and that invalidTCPMux is used.
Indicates we already have the connection with same remote addr.
ParseInt(ParseIntError)
Tuple Fields of ParseInt
ParseIp(AddrParseError)
Tuple Fields of ParseIp
Util(Error)
Tuple Fields of Util
0: Error
Stun(Error)
Tuple Fields of Stun
0: Error
ParseUrl(ParseError)
Tuple Fields of ParseUrl
0: ParseError
Mdns(Error)
Tuple Fields of Mdns
0: Error
Turn(Error)
Tuple Fields of Turn
0: Error
Other(String)
Tuple Fields of Other
0: String
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.