Expand description
The crate-wide error type shared by every protocol in the stack. The error type shared across the stack.
One Error enum spans every layer — buffers, UDP, ICE, DTLS, SCTP, SRTP, RTP/RTCP, SDP and
the data channel — so a value can propagate from the innermost codec to the application
without conversion at each boundary. The higher-level crates re-export it, which is why an
application only ever imports one error type.
Structs§
- IoError
- Wrapper around
std::io::Errorthat implementsPartialEq. - P256
Error - Wrapper around
p256::elliptic_curve::Errorthat implementsPartialEq. - StdError
- An escape hatch to preserve stack traces for errors whose concrete type is unknown.
Enums§
- Error
- Unified error type for all WebRTC sub-protocols.
Functions§
- flatten_
errs - Flattens a list of errors into a single
Error, joining their messages with newlines.