pub enum StubOutcome {
Response {
status: StatusCode,
headers: HeaderMap,
body: StubBody,
},
Fail(String),
}Variants§
Trait Implementations§
Source§impl Clone for StubOutcome
impl Clone for StubOutcome
Source§fn clone(&self) -> StubOutcome
fn clone(&self) -> StubOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for StubOutcome
impl RefUnwindSafe for StubOutcome
impl Send for StubOutcome
impl Sync for StubOutcome
impl Unpin for StubOutcome
impl UnsafeUnpin for StubOutcome
impl UnwindSafe for StubOutcome
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