pub enum BatchRequest {
CheckGates {
gate_names: Vec<String>,
user: User,
response_tx: Sender<Result<Vec<GateEvaluationResult>>>,
},
GetConfigs {
config_names: Vec<String>,
user: User,
response_tx: Sender<Result<Vec<ConfigEvaluationResult>>>,
},
}Expand description
Represents different types of batch requests
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BatchRequest
impl !RefUnwindSafe for BatchRequest
impl Send for BatchRequest
impl Sync for BatchRequest
impl Unpin for BatchRequest
impl !UnwindSafe for BatchRequest
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more