Struct msf_ice::AgentBuilder
source · [−]pub struct AgentBuilder { /* private fields */ }
Expand description
ICE agent builder.
Implementations
sourceimpl AgentBuilder
impl AgentBuilder
sourcepub fn local_address(&mut self, addr: IpAddr) -> &mut Self
pub fn local_address(&mut self, addr: IpAddr) -> &mut Self
Add given local address.
sourcepub fn stun_server(&mut self, addr: SocketAddr) -> &mut Self
pub fn stun_server(&mut self, addr: SocketAddr) -> &mut Self
Use a given STUN server.
sourcepub fn channel(&mut self) -> &mut ChannelBuilder
pub fn channel(&mut self) -> &mut ChannelBuilder
Add a new channel.
The method returns a channel builder where components can be created.
Auto Trait Implementations
impl !RefUnwindSafe for AgentBuilder
impl Send for AgentBuilder
impl Sync for AgentBuilder
impl Unpin for AgentBuilder
impl !UnwindSafe for AgentBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more