Enum librice::agent::AgentError
source · pub enum AgentError {
Show 17 variants
Failed,
AlreadyExists,
AlreadyInProgress,
ResourceNotFound,
NotEnoughData,
InvalidSize,
Malformed,
NotStun,
WrongImplementation,
TooBig,
ConnectionClosed,
IntegrityCheckFailed,
Aborted,
TimedOut,
StunParse,
CandidateParse(ParseCandidateError),
IoError(Error),
}
Variants§
Failed
AlreadyExists
AlreadyInProgress
ResourceNotFound
NotEnoughData
InvalidSize
Malformed
NotStun
WrongImplementation
TooBig
ConnectionClosed
IntegrityCheckFailed
Aborted
TimedOut
StunParse
CandidateParse(ParseCandidateError)
IoError(Error)
Trait Implementations§
source§impl Debug for AgentError
impl Debug for AgentError
source§impl Display for AgentError
impl Display for AgentError
source§impl Error for AgentError
impl Error for AgentError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for AgentError
impl From<Error> for AgentError
source§impl From<ParseCandidateError> for AgentError
impl From<ParseCandidateError> for AgentError
source§fn from(e: ParseCandidateError) -> Self
fn from(e: ParseCandidateError) -> Self
Converts to this type from the input type.
source§impl From<StunError> for AgentError
impl From<StunError> for AgentError
source§impl From<StunParseError> for AgentError
impl From<StunParseError> for AgentError
source§fn from(e: StunParseError) -> Self
fn from(e: StunParseError) -> Self
Converts to this type from the input type.