Enum sep2_common::packages::objects::ErrorReason
source · #[repr(u16)]pub enum ErrorReason {
InvalidRequestFormat = 0,
InvalidRequestValues = 1,
ResourceLimitReached = 2,
SubscriptionNotSupported = 3,
MaximumRequestFrequency = 4,
}
Variants§
InvalidRequestFormat = 0
InvalidRequestValues = 1
ResourceLimitReached = 2
SubscriptionNotSupported = 3
MaximumRequestFrequency = 4
Trait Implementations§
source§impl Clone for ErrorReason
impl Clone for ErrorReason
source§fn clone(&self) -> ErrorReason
fn clone(&self) -> ErrorReason
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 ErrorReason
impl Debug for ErrorReason
source§impl Default for ErrorReason
impl Default for ErrorReason
source§fn default() -> ErrorReason
fn default() -> ErrorReason
Returns the “default value” for a type. Read more
source§impl Display for ErrorReason
impl Display for ErrorReason
source§impl PartialEq<ErrorReason> for ErrorReason
impl PartialEq<ErrorReason> for ErrorReason
source§fn eq(&self, other: &ErrorReason) -> bool
fn eq(&self, other: &ErrorReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for ErrorReason
impl YaDeserialize for ErrorReason
source§impl YaSerialize for ErrorReason
impl YaSerialize for ErrorReason
fn name() -> &'static strwhere Self: Sized,
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,
impl Copy for ErrorReason
impl Eq for ErrorReason
impl StructuralEq for ErrorReason
impl StructuralPartialEq for ErrorReason
Auto Trait Implementations§
impl RefUnwindSafe for ErrorReason
impl Send for ErrorReason
impl Sync for ErrorReason
impl Unpin for ErrorReason
impl UnwindSafe for ErrorReason
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