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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)