pub enum UdpMessage {
Audio(Audio),
Ping(Ping),
}Expand description
A decoded UDP voice-plane message.
Variants§
Trait Implementations§
Source§impl Clone for UdpMessage
impl Clone for UdpMessage
Source§fn clone(&self) -> UdpMessage
fn clone(&self) -> UdpMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UdpMessage
impl Debug for UdpMessage
Source§impl PartialEq for UdpMessage
impl PartialEq for UdpMessage
impl StructuralPartialEq for UdpMessage
Auto Trait Implementations§
impl Freeze for UdpMessage
impl RefUnwindSafe for UdpMessage
impl Send for UdpMessage
impl Sync for UdpMessage
impl Unpin for UdpMessage
impl UnwindSafe for UdpMessage
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