pub struct RefusalFixture {
pub frames: Vec<WireInput>,
pub expected_text: &'static str,
}Available on crate feature
test-utils and not (target_os=unknown and WebAssembly) only.Expand description
Refusal frames and the text the pipeline must deliver for them.
Fields§
§frames: Vec<WireInput>Frames carrying the refusal content.
expected_text: &'static strText the consumer must observe.
Auto Trait Implementations§
impl !RefUnwindSafe for RefusalFixture
impl !UnwindSafe for RefusalFixture
impl Freeze for RefusalFixture
impl Send for RefusalFixture
impl Sync for RefusalFixture
impl Unpin for RefusalFixture
impl UnsafeUnpin for RefusalFixture
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