pub enum AttrMode {
Read,
ReadWithWrite {
write_attr_name: Cow<'static, str>,
},
Write,
ReadWrite,
}Expand description
Attribute read/write mode.
Variants§
Read
Read-only attribute
ReadWithWrite
The attribute is technically read-only on the server side, but is associated to another write-only attribute that acts are the setpoint for that read-only value.
Write
Write-only attribute.
ReadWrite
Read/write attribute.
Trait Implementations§
impl Eq for AttrMode
impl StructuralPartialEq for AttrMode
Auto Trait Implementations§
impl Freeze for AttrMode
impl RefUnwindSafe for AttrMode
impl Send for AttrMode
impl Sync for AttrMode
impl Unpin for AttrMode
impl UnsafeUnpin for AttrMode
impl UnwindSafe for AttrMode
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