Enum turnclient::ChannelUsage [−][src]
pub enum ChannelUsage { WithChannel, JustPermission, }
Expand description
Whether to just create permission of also allocate a channel for it. I don’t see much reasons not to allocate a channel.
Variants
Create a channel, resulting in shorter datagrams between you and TURN for this peer.
Only create permission and use send indications (more overhead compared to channel messages)
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ChannelUsage
impl Send for ChannelUsage
impl Sync for ChannelUsage
impl Unpin for ChannelUsage
impl UnwindSafe for ChannelUsage
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V