pub struct MockDocument { /* private fields */ }Available on crate feature
test-utils only.Expand description
The reply document of MockScript: a whole
response’s raw, or a stream’s scripted end, serialized. A stream that
failed before its end has none.
Trait Implementations§
Source§impl Debug for MockDocument
impl Debug for MockDocument
Source§impl Default for MockDocument
impl Default for MockDocument
Source§fn default() -> MockDocument
fn default() -> MockDocument
Returns the “default value” for a type. Read more
Source§impl Reassemble<MockFrame> for MockDocument
impl Reassemble<MockFrame> for MockDocument
impl Serves<Completion> for MockDocument
Auto Trait Implementations§
impl Freeze for MockDocument
impl RefUnwindSafe for MockDocument
impl Send for MockDocument
impl Sync for MockDocument
impl Unpin for MockDocument
impl UnsafeUnpin for MockDocument
impl UnwindSafe for MockDocument
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