Struct example_tester::Proxy
source · pub struct Proxy<'a> { /* private fields */ }
Expand description
Represents a proxy component under test.
Implementations§
source§impl<'a> Proxy<'a>
impl<'a> Proxy<'a>
sourcepub fn new(test_prefix: &str, path: &'a str) -> Self
pub fn new(test_prefix: &str, path: &'a str) -> Self
Create a new instance of a proxy component, passing in two string references: the name of
the test that created this component, and the path to the *.cm
file describing this
component in the current package:
Proxy::new(“my_test_case”, “#meta/some_proxy.cm”);
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Proxy<'a>
impl<'a> RefUnwindSafe for Proxy<'a>
impl<'a> Send for Proxy<'a>
impl<'a> Sync for Proxy<'a>
impl<'a> Unpin for Proxy<'a>
impl<'a> UnwindSafe for Proxy<'a>
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