pub enum RequestType {
BeginWrite = 0,
CommitWrite = 1,
RollbackWrite = 2,
}Expand description
§7.15.4’s AtomicRequestTypeEnum.
Variants§
BeginWrite = 0
0 — claim a set of attributes and start pending writes to them.
CommitWrite = 1
1 — apply every pending write, or none.
RollbackWrite = 2
2 — “Rollback an atomic write, discarding any pending changes”.
Implementations§
Source§impl RequestType
impl RequestType
Sourcepub const fn from_value(value: u8) -> Option<Self>
pub const fn from_value(value: u8) -> Option<Self>
Reads the enum value off the wire.
Trait Implementations§
Source§impl Clone for RequestType
impl Clone for RequestType
impl Copy for RequestType
Source§impl Debug for RequestType
impl Debug for RequestType
impl Eq for RequestType
Source§impl Hash for RequestType
impl Hash for RequestType
Source§impl PartialEq for RequestType
impl PartialEq for RequestType
impl StructuralPartialEq for RequestType
Auto Trait Implementations§
impl Forget for RequestType
impl Freeze for RequestType
impl Move for RequestType
impl RefUnwindSafe for RequestType
impl Send for RequestType
impl Sync for RequestType
impl Unpin for RequestType
impl UnsafeUnpin for RequestType
impl UnwindSafe for RequestType
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