#[repr(u8)]pub enum LockId {
Mailbox,
Waitlist,
Reservation,
DispatchStash,
}Expand description
The id of the gas lock.
Variants§
Mailbox
The gas lock is provided by the mailbox.
Waitlist
The gas lock is provided by the waitlist.
Reservation
The gas lock is provided by reservation.
DispatchStash
The gas lock is provided by dispatch stash.
Trait Implementations§
source§impl PartialEq<LockId> for LockId
impl PartialEq<LockId> for LockId
source§impl Sequence for LockId
impl Sequence for LockId
impl Copy for LockId
impl Eq for LockId
impl StructuralEq for LockId
impl StructuralPartialEq for LockId
Auto Trait Implementations§
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