pub struct AllowBatching;Expand description
Always accept a batch, whatever the profile says.
For a protocol whose specification defines batching in every version, and for tests that need a frame to reach the router without a capability negotiation first. It is named rather than being the default so that choosing it is a decision in the source rather than an omission.
Trait Implementations§
Source§impl BatchPolicy for AllowBatching
impl BatchPolicy for AllowBatching
Source§fn allows_batch(&self, _profile: &FeatureProfile) -> bool
fn allows_batch(&self, _profile: &FeatureProfile) -> bool
Whether a frame holding several messages may be processed.
Source§impl Clone for AllowBatching
impl Clone for AllowBatching
impl Copy for AllowBatching
Source§impl Debug for AllowBatching
impl Debug for AllowBatching
Auto Trait Implementations§
impl Freeze for AllowBatching
impl RefUnwindSafe for AllowBatching
impl Send for AllowBatching
impl Sync for AllowBatching
impl Unpin for AllowBatching
impl UnsafeUnpin for AllowBatching
impl UnwindSafe for AllowBatching
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