Enum sbp::messages::settings::msg_settings_write_resp::WriteStatus
source · [−]pub enum WriteStatus {
AcceptedValueUpdated,
RejectedValueUnparsableOrOutOfRange,
RejectedRequestedSettingDoesNotExist,
RejectedSettingNameCouldNotBeParsed,
RejectedSettingIsReadOnly,
RejectedModificationIsTemporarilyDisabled,
RejectedUnspecifiedError,
}
Expand description
Write status
Variants
AcceptedValueUpdated
Accepted; value updated
RejectedValueUnparsableOrOutOfRange
Rejected; value unparsable or out-of-range
RejectedRequestedSettingDoesNotExist
Rejected; requested setting does not exist
RejectedSettingNameCouldNotBeParsed
Rejected; setting name could not be parsed
RejectedSettingIsReadOnly
Rejected; setting is read only
RejectedModificationIsTemporarilyDisabled
Rejected; modification is temporarily disabled
RejectedUnspecifiedError
Rejected; unspecified error
Trait Implementations
sourceimpl Clone for WriteStatus
impl Clone for WriteStatus
sourcefn clone(&self) -> WriteStatus
fn clone(&self) -> WriteStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WriteStatus
impl Debug for WriteStatus
sourceimpl Display for WriteStatus
impl Display for WriteStatus
sourceimpl Hash for WriteStatus
impl Hash for WriteStatus
sourceimpl PartialEq<WriteStatus> for WriteStatus
impl PartialEq<WriteStatus> for WriteStatus
sourceimpl TryFrom<u8> for WriteStatus
impl TryFrom<u8> for WriteStatus
impl Copy for WriteStatus
impl Eq for WriteStatus
impl StructuralEq for WriteStatus
impl StructuralPartialEq for WriteStatus
Auto Trait Implementations
impl RefUnwindSafe for WriteStatus
impl Send for WriteStatus
impl Sync for WriteStatus
impl Unpin for WriteStatus
impl UnwindSafe for WriteStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more