Enum oprf::protocol::configuration::ModeID
source · pub enum ModeID {
modeOPRF = 0,
modeVOPRF = 1,
modePOPRF = 2,
modecoPRF = 3,
}
Expand description
Each of the three protocol variants are identified with a one-byte value (in hexadecimal):
Mode | Value |
---|---|
modeOPRF | 0x00 |
modeVOPRF | 0x01 |
modePOPRF | 0x02 |
modecoPRF | 0x03 |
Note: modecoPRF
is not part of the original draft document, but belongs to our Convertible OPRF extension.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModeID
impl RefUnwindSafe for ModeID
impl Send for ModeID
impl Sync for ModeID
impl Unpin for ModeID
impl UnwindSafe for ModeID
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