#[repr(C)]pub enum CPacketType {
RawAudio = 0,
OpusAudio = 1,
Text = 2,
Transcription = 3,
Custom = 4,
Binary = 5,
Any = 6,
Passthrough = 7,
}Expand description
Packet type discriminant
Variants§
RawAudio = 0
OpusAudio = 1
Text = 2
Transcription = 3
Custom = 4
Binary = 5
Any = 6
Passthrough = 7
Trait Implementations§
Source§impl Clone for CPacketType
impl Clone for CPacketType
Source§fn clone(&self) -> CPacketType
fn clone(&self) -> CPacketType
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 CPacketType
impl Debug for CPacketType
Source§impl PartialEq for CPacketType
impl PartialEq for CPacketType
impl Copy for CPacketType
impl Eq for CPacketType
impl StructuralPartialEq for CPacketType
Auto Trait Implementations§
impl Freeze for CPacketType
impl RefUnwindSafe for CPacketType
impl Send for CPacketType
impl Sync for CPacketType
impl Unpin for CPacketType
impl UnwindSafe for CPacketType
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