pub enum RegisterStatus {
AcceptedRequestedDefaultValueReturned = 0,
AcceptedSettingFoundInPermanentStorageValueFromStorageReturned = 1,
RejectedSettingAlreadyRegisteredValueFromMemoryReturned = 2,
RejectedMalformedMessage = 3,
}
Expand description
Register status
Variants§
AcceptedRequestedDefaultValueReturned = 0
Accepted; requested default value returned
AcceptedSettingFoundInPermanentStorageValueFromStorageReturned = 1
Accepted; setting found in permanent storage, value from storage returned
RejectedSettingAlreadyRegisteredValueFromMemoryReturned = 2
Rejected; setting already registered, value from memory returned
RejectedMalformedMessage = 3
Rejected; malformed message
Trait Implementations§
source§impl Clone for RegisterStatus
impl Clone for RegisterStatus
source§fn clone(&self) -> RegisterStatus
fn clone(&self) -> RegisterStatus
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 RegisterStatus
impl Debug for RegisterStatus
source§impl Display for RegisterStatus
impl Display for RegisterStatus
source§impl Hash for RegisterStatus
impl Hash for RegisterStatus
source§impl PartialEq for RegisterStatus
impl PartialEq for RegisterStatus
source§fn eq(&self, other: &RegisterStatus) -> bool
fn eq(&self, other: &RegisterStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for RegisterStatus
impl TryFrom<u8> for RegisterStatus
impl Copy for RegisterStatus
impl Eq for RegisterStatus
impl StructuralPartialEq for RegisterStatus
Auto Trait Implementations§
impl Freeze for RegisterStatus
impl RefUnwindSafe for RegisterStatus
impl Send for RegisterStatus
impl Sync for RegisterStatus
impl Unpin for RegisterStatus
impl UnwindSafe for RegisterStatus
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