#[repr(u8)]pub enum LockId {
Mailbox = 0,
Waitlist = 1,
Reservation = 2,
DispatchStash = 3,
}
Expand description
The id of the gas lock.
Variants§
Mailbox = 0
The gas lock is provided by the mailbox.
Waitlist = 1
The gas lock is provided by the waitlist.
Reservation = 2
The gas lock is provided by reservation.
DispatchStash = 3
The gas lock is provided by dispatch stash.
Trait Implementations§
Source§impl Sequence for LockId
impl Sequence for LockId
impl Copy for LockId
impl Eq for LockId
impl StructuralPartialEq for LockId
Auto Trait Implementations§
impl Freeze for LockId
impl RefUnwindSafe for LockId
impl Send for LockId
impl Sync for LockId
impl Unpin for LockId
impl UnwindSafe for LockId
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