pub enum VoiceCode {
PING,
PONG,
}Variants§
Trait Implementations§
Source§impl<'de> SchemaRead<'de> for VoiceCode
impl<'de> SchemaRead<'de> for VoiceCode
Source§impl SchemaWrite for VoiceCode
impl SchemaWrite for VoiceCode
impl StructuralPartialEq for VoiceCode
Auto Trait Implementations§
impl Freeze for VoiceCode
impl RefUnwindSafe for VoiceCode
impl Send for VoiceCode
impl Sync for VoiceCode
impl Unpin for VoiceCode
impl UnwindSafe for VoiceCode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'de, T> Deserialize<'de> for Twhere
T: SchemaRead<'de>,
impl<'de, T> Deserialize<'de> for Twhere
T: SchemaRead<'de>,
Source§impl<T> DeserializeOwned for Twhere
T: SchemaReadOwned,
impl<T> DeserializeOwned for Twhere
T: SchemaReadOwned,
Source§fn deserialize_from<'de>(
src: &mut impl Reader<'de>,
) -> Result<Self::Dst, ReadError>
fn deserialize_from<'de>( src: &mut impl Reader<'de>, ) -> Result<Self::Dst, ReadError>
Deserialize from the given
Reader into a new Self::Dst.Source§fn deserialize_from_into<'de>(
src: &mut impl Reader<'de>,
dst: &mut MaybeUninit<Self::Dst>,
) -> Result<(), ReadError>
fn deserialize_from_into<'de>( src: &mut impl Reader<'de>, dst: &mut MaybeUninit<Self::Dst>, ) -> Result<(), ReadError>
Deserialize from the given
Reader into dst.Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> Serialize for Twhere
T: SchemaWrite + ?Sized,
impl<T> Serialize for Twhere
T: SchemaWrite + ?Sized,
Source§fn serialize(src: &Self::Src) -> Result<Vec<u8>, WriteError>
fn serialize(src: &Self::Src) -> Result<Vec<u8>, WriteError>
Serialize a serializable type into a
Vec of bytes.Source§fn serialize_into(
dst: &mut impl Writer,
src: &Self::Src,
) -> Result<(), WriteError>
fn serialize_into( dst: &mut impl Writer, src: &Self::Src, ) -> Result<(), WriteError>
Serialize a serializable type into the given byte buffer.
Source§fn serialized_size(src: &Self::Src) -> Result<u64, WriteError>
fn serialized_size(src: &Self::Src) -> Result<u64, WriteError>
Get the size in bytes of the type when serialized.