pub struct DelayedChannel<T: AsRef<[u8]> + Debug> { /* private fields */ }Expand description
A Transmit that will construct a channel message towards a TURN client or server.
Implementations§
Source§impl<T: AsRef<[u8]> + Debug> DelayedChannel<T>
impl<T: AsRef<[u8]> + Debug> DelayedChannel<T>
Sourcepub fn new(channel_id: u16, data: T) -> Self
pub fn new(channel_id: u16, data: T) -> Self
Construct a new DelayedChannel with the specified channel ID and data.
Trait Implementations§
Source§impl<T: AsRef<[u8]> + Debug> DelayedTransmitBuild for DelayedChannel<T>
impl<T: AsRef<[u8]> + Debug> DelayedTransmitBuild for DelayedChannel<T>
Auto Trait Implementations§
impl<T> Freeze for DelayedChannel<T>where
T: Freeze,
impl<T> RefUnwindSafe for DelayedChannel<T>where
T: RefUnwindSafe,
impl<T> Send for DelayedChannel<T>where
T: Send,
impl<T> Sync for DelayedChannel<T>where
T: Sync,
impl<T> Unpin for DelayedChannel<T>where
T: Unpin,
impl<T> UnwindSafe for DelayedChannel<T>where
T: UnwindSafe,
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