Skip to main content
Log in

Mojo struct

Consistency

struct Consistency

Aliases

  • WEAK = Consistency(0): Weak consistency.
  • RELAXED = Consistency(1): Relaxed consistency.
  • ACQUIRE = Consistency(2): Acquire consistency.
  • RELEASE = Consistency(3): Release consistency.

Implemented traits

AnyType, Copyable, ExplicitlyCopyable, Movable, UnknownDestructibility

Methods

__eq__

__eq__(self, other: Self) -> Bool

__ne__

__ne__(self, other: Self) -> Bool

__is__

__is__(self, other: Self) -> Bool

__isnot__

__isnot__(self, other: Self) -> Bool

__str__

__str__(self) -> String

mnemonic

mnemonic(self) -> StringLiteral