pub struct PirQuery {
pub mask: Vec<bool>,
}Expand description
XOR-based PIR (2 servers): each server gets a random subset; XOR of responses gives the desired element.
Fields§
§mask: Vec<bool>Auto Trait Implementations§
impl Freeze for PirQuery
impl RefUnwindSafe for PirQuery
impl Send for PirQuery
impl Sync for PirQuery
impl Unpin for PirQuery
impl UnsafeUnpin for PirQuery
impl UnwindSafe for PirQuery
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