pub struct Permission { /* private fields */ }Expand description
Permission represents a TURN permission. TURN permissions mimic the address-restricted
filtering mechanism of NATs that comply with [RFC4787].
https://tools.ietf.org/html/rfc5766#section-2.3
Implementations§
Source§impl Permission
impl Permission
Sourcepub fn new(addr: SocketAddr) -> Self
pub fn new(addr: SocketAddr) -> Self
Creates a new Permission.
Auto Trait Implementations§
impl !RefUnwindSafe for Permission
impl !UnwindSafe for Permission
impl Freeze for Permission
impl Send for Permission
impl Sync for Permission
impl Unpin for Permission
impl UnsafeUnpin for Permission
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