pub enum SdpErrorCode {
Show 19 variants
Success = 2_000,
InvalidValue = 4_001,
Forbidden = 4_002,
ClosureRuleViolation = 4_003,
Internal = 4_004,
ReferenceExists = 4_005,
NotFound = 4_007,
NotUnique = 4_008,
NonEditableField = 4_009,
InternalField = 4_010,
NoSuchField = 4_011,
MissingMandatoryField = 4_012,
UnsupportedContentType = 4_013,
ReadOnlyField = 4_014,
RateLimitExceeded = 4_015,
AlreadyInTrash = 4_016,
NotInTrash = 4_017,
LicenseRestriction = 7_001,
Unknown = 0,
}Expand description
SDP API error codes
Variants§
Success = 2_000
InvalidValue = 4_001
Forbidden = 4_002
ClosureRuleViolation = 4_003
Internal = 4_004
ReferenceExists = 4_005
NotFound = 4_007
NotUnique = 4_008
NonEditableField = 4_009
InternalField = 4_010
NoSuchField = 4_011
MissingMandatoryField = 4_012
UnsupportedContentType = 4_013
ReadOnlyField = 4_014
RateLimitExceeded = 4_015
AlreadyInTrash = 4_016
NotInTrash = 4_017
LicenseRestriction = 7_001
Unknown = 0
Trait Implementations§
Source§impl Clone for SdpErrorCode
impl Clone for SdpErrorCode
Source§fn clone(&self) -> SdpErrorCode
fn clone(&self) -> SdpErrorCode
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 SdpErrorCode
impl Debug for SdpErrorCode
Source§impl From<u32> for SdpErrorCode
impl From<u32> for SdpErrorCode
Source§impl PartialEq for SdpErrorCode
impl PartialEq for SdpErrorCode
impl Copy for SdpErrorCode
impl Eq for SdpErrorCode
impl StructuralPartialEq for SdpErrorCode
Auto Trait Implementations§
impl Freeze for SdpErrorCode
impl RefUnwindSafe for SdpErrorCode
impl Send for SdpErrorCode
impl Sync for SdpErrorCode
impl Unpin for SdpErrorCode
impl UnwindSafe for SdpErrorCode
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.