Struct webrtc_sdp::anonymizer::StatefulSdpAnonymizer
source · pub struct StatefulSdpAnonymizer { /* private fields */ }
Implementations§
source§impl StatefulSdpAnonymizer
impl StatefulSdpAnonymizer
pub fn new() -> Self
pub fn mask_host(&mut self, host: &str) -> String
pub fn mask_ip(&mut self, addr: &IpAddr) -> IpAddr
pub fn mask_address(&mut self, address: &Address) -> Address
pub fn mask_typed_address( &mut self, address: &ExplicitlyTypedAddress ) -> ExplicitlyTypedAddress
pub fn mask_port(&mut self, port: u32) -> u32
pub fn mask_origin_user(&mut self, user: &str) -> String
pub fn mask_ice_password(&mut self, password: &str) -> String
pub fn mask_ice_user(&mut self, user: &str) -> String
pub fn mask_cert_finger_print(&mut self, finger_print: &[u8]) -> Vec<u8>
pub fn mask_cname(&mut self, cname: &str) -> String
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for StatefulSdpAnonymizer
impl Send for StatefulSdpAnonymizer
impl Sync for StatefulSdpAnonymizer
impl Unpin for StatefulSdpAnonymizer
impl UnwindSafe for StatefulSdpAnonymizer
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