pub struct IceCandidateRef<'a>(/* private fields */);
Expand description
Reference to a deserialized IceCandidate.
Implementations§
Source§impl<'a> IceCandidateRef<'a>
impl<'a> IceCandidateRef<'a>
Sourcepub fn foundation(&self) -> Result<&'a str>
pub fn foundation(&self) -> Result<&'a str>
Getter for the foundation
field.
Sourcepub fn priority(&self) -> Result<u32>
pub fn priority(&self) -> Result<u32>
Getter for the priority
field.
Sourcepub fn address(&self) -> Result<&'a str>
pub fn address(&self) -> Result<&'a str>
Getter for the address
field.
Sourcepub fn protocol(&self) -> Result<Protocol>
pub fn protocol(&self) -> Result<Protocol>
Getter for the protocol
field.
Sourcepub fn port(&self) -> Result<u16>
pub fn port(&self) -> Result<u16>
Getter for the port
field.
Sourcepub fn type_(&self) -> Result<IceCandidateType>
pub fn type_(&self) -> Result<IceCandidateType>
Getter for the type
field.
Sourcepub fn tcp_type(&self) -> Result<Option<IceCandidateTcpType>>
pub fn tcp_type(&self) -> Result<Option<IceCandidateTcpType>>
Getter for the tcp_type
field.
Trait Implementations§
Source§impl<'a> Clone for IceCandidateRef<'a>
impl<'a> Clone for IceCandidateRef<'a>
Source§fn clone(&self) -> IceCandidateRef<'a>
fn clone(&self) -> IceCandidateRef<'a>
Returns a copy 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<'a> Debug for IceCandidateRef<'a>
impl<'a> Debug for IceCandidateRef<'a>
Source§impl<'a> ReadAsRoot<'a> for IceCandidateRef<'a>
impl<'a> ReadAsRoot<'a> for IceCandidateRef<'a>
Source§impl<'a> TryFrom<IceCandidateRef<'a>> for IceCandidate
impl<'a> TryFrom<IceCandidateRef<'a>> for IceCandidate
impl<'a> Copy for IceCandidateRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for IceCandidateRef<'a>
impl<'a> RefUnwindSafe for IceCandidateRef<'a>
impl<'a> Send for IceCandidateRef<'a>
impl<'a> Sync for IceCandidateRef<'a>
impl<'a> Unpin for IceCandidateRef<'a>
impl<'a> UnwindSafe for IceCandidateRef<'a>
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