pub struct CrossMemberAgreementValidator(/* private fields */);Expand description
A named helper for requiring one exact identity across all bundle members.
Implementations§
Source§impl CrossMemberAgreementValidator
impl CrossMemberAgreementValidator
Sourcepub fn new<I>(members: I, expected_output: impl Into<String>) -> Selfwhere
I: IntoIterator<Item = MemberId>,
pub fn new<I>(members: I, expected_output: impl Into<String>) -> Selfwhere
I: IntoIterator<Item = MemberId>,
Creates an exact-output agreement check for every supplied member.
Sourcepub fn max_output_bytes(self, limit: usize) -> Self
pub fn max_output_bytes(self, limit: usize) -> Self
Sets the per-stream output cap.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CrossMemberAgreementValidator
impl RefUnwindSafe for CrossMemberAgreementValidator
impl Send for CrossMemberAgreementValidator
impl Sync for CrossMemberAgreementValidator
impl Unpin for CrossMemberAgreementValidator
impl UnsafeUnpin for CrossMemberAgreementValidator
impl UnwindSafe for CrossMemberAgreementValidator
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