pub struct FederatedAnalysisDraft { /* private fields */ }Expand description
Unrendered federated analysis response that fits the exact adapter envelope.
Implementations§
Source§impl FederatedAnalysisDraft
impl FederatedAnalysisDraft
Sourcepub fn fit_output<F, E, O>(
self,
encode: F,
) -> Result<(FederatedAnalysisReport, O), E>where
F: FnMut(&FederatedAnalysisReport, &IndexWorkControl) -> Result<O, E>,
E: From<ServiceError>,
O: AsRef<[u8]>,
pub fn fit_output<F, E, O>(
self,
encode: F,
) -> Result<(FederatedAnalysisReport, O), E>where
F: FnMut(&FederatedAnalysisReport, &IndexWorkControl) -> Result<O, E>,
E: From<ServiceError>,
O: AsRef<[u8]>,
Fit the largest analysis-finding prefix to the exact federated envelope.
§Errors
Returns an adapter error when rendering fails, cancellation fires, a cursor cannot be wrapped, or the empty federated envelope is oversized.
Auto Trait Implementations§
impl Freeze for FederatedAnalysisDraft
impl RefUnwindSafe for FederatedAnalysisDraft
impl Send for FederatedAnalysisDraft
impl Sync for FederatedAnalysisDraft
impl Unpin for FederatedAnalysisDraft
impl UnwindSafe for FederatedAnalysisDraft
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