pub enum XIChangePropertyAux {
Data8(Vec<u8>),
Data16(Vec<u16>),
Data32(Vec<u32>),
InvalidValue(u8),
}
Variants§
Data8(Vec<u8>)
Data16(Vec<u16>)
Data32(Vec<u32>)
InvalidValue(u8)
This variant is returned when the server sends a discriminant value that does not match any of the defined by the protocol.
Usually, this should be considered a parsing error, but there are some cases where the server violates the protocol.
Trying to use serialize
or serialize_into
with this variant
will raise a panic.
Implementations§
Trait Implementations§
source§impl Clone for XIChangePropertyAux
impl Clone for XIChangePropertyAux
source§fn clone(&self) -> XIChangePropertyAux
fn clone(&self) -> XIChangePropertyAux
Returns a copy 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 XIChangePropertyAux
impl Debug for XIChangePropertyAux
source§impl<'de> Deserialize<'de> for XIChangePropertyAux
impl<'de> Deserialize<'de> for XIChangePropertyAux
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for XIChangePropertyAux
impl Hash for XIChangePropertyAux
source§impl Ord for XIChangePropertyAux
impl Ord for XIChangePropertyAux
source§fn cmp(&self, other: &XIChangePropertyAux) -> Ordering
fn cmp(&self, other: &XIChangePropertyAux) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for XIChangePropertyAux
impl PartialEq for XIChangePropertyAux
source§fn eq(&self, other: &XIChangePropertyAux) -> bool
fn eq(&self, other: &XIChangePropertyAux) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for XIChangePropertyAux
impl PartialOrd for XIChangePropertyAux
source§fn partial_cmp(&self, other: &XIChangePropertyAux) -> Option<Ordering>
fn partial_cmp(&self, other: &XIChangePropertyAux) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for XIChangePropertyAux
impl Serialize for XIChangePropertyAux
impl Eq for XIChangePropertyAux
impl StructuralPartialEq for XIChangePropertyAux
Auto Trait Implementations§
impl Freeze for XIChangePropertyAux
impl RefUnwindSafe for XIChangePropertyAux
impl Send for XIChangePropertyAux
impl Sync for XIChangePropertyAux
impl Unpin for XIChangePropertyAux
impl UnwindSafe for XIChangePropertyAux
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