pub enum TurnEvent {
AllocationCreated(TransportType, SocketAddr),
AllocationCreateFailed,
PermissionCreated(TransportType, IpAddr),
PermissionCreateFailed(TransportType, IpAddr),
}Expand description
A set of events that can occur within a TURN client’s connection to a TURN server.
Variants§
AllocationCreated(TransportType, SocketAddr)
An allocation was created on the server for the client. The allocation as the associated transport and address.
AllocationCreateFailed
Allocation failed to be created.
PermissionCreated(TransportType, IpAddr)
A permission was created for the provided transport and IP address.
PermissionCreateFailed(TransportType, IpAddr)
A permission could not be installed for the provided transport and IP address.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TurnEvent
impl RefUnwindSafe for TurnEvent
impl Send for TurnEvent
impl Sync for TurnEvent
impl Unpin for TurnEvent
impl UnwindSafe for TurnEvent
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