pub struct IceCandidateError {
pub address: Option<String>,
pub port: Option<u32>,
pub url: String,
pub error_code: i32,
pub error_text: String,
}
Expand description
Error occurred with an ICE candidate from a PeerConnection
.
Fields§
§address: Option<String>
§port: Option<u32>
§url: String
§error_code: i32
Numeric STUN error code returned by the STUN/TURN server.
If no host candidate can reach the server, this error code will be set
to the value 701
, which is outside the STUN error code range. This
error is only fired once per server URL while in the
RTCIceGatheringState
of “gathering”.
error_text: String
STUN reason text returned by the STUN/TURN server.
If the server could not be reached, this reason test will be set to an implementation-specific value providing details about the error.
Trait Implementations§
Source§impl Clone for IceCandidateError
impl Clone for IceCandidateError
Source§fn clone(&self) -> IceCandidateError
fn clone(&self) -> IceCandidateError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IceCandidateError
impl Debug for IceCandidateError
Source§impl<'de> Deserialize<'de> for IceCandidateError
impl<'de> Deserialize<'de> for IceCandidateError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IceCandidateError
impl PartialEq for IceCandidateError
Source§impl Serialize for IceCandidateError
impl Serialize for IceCandidateError
impl Eq for IceCandidateError
impl StructuralPartialEq for IceCandidateError
Auto Trait Implementations§
impl Freeze for IceCandidateError
impl RefUnwindSafe for IceCandidateError
impl Send for IceCandidateError
impl Sync for IceCandidateError
impl Unpin for IceCandidateError
impl UnwindSafe for IceCandidateError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more