pub struct FileSystemResultsWriter { /* private fields */ }Implementations§
Source§impl FileSystemResultsWriter
impl FileSystemResultsWriter
pub fn new<P: AsRef<Path>>(out_dir: P) -> Result<Self>
pub fn write_result(&self, result: &TestResult) -> Result<PathBuf>
pub fn write_result_typed(&self, result: &TestResult) -> Result<PathBuf>
pub fn write_container( &self, container: &TestResultContainer, ) -> Result<PathBuf>
pub fn write_container_typed( &self, container: &TestResultContainer, ) -> Result<PathBuf>
pub fn write_globals(&self, globals: &Globals) -> Result<PathBuf>
pub fn write_globals_typed(&self, globals: &Globals) -> Result<PathBuf>
pub fn write_environment_properties( &self, properties: &HashMap<String, String>, ) -> Result<PathBuf>
pub fn write_categories(&self, categories: &Categories) -> Result<PathBuf>
pub fn write_categories_typed(&self, categories: &Categories) -> Result<PathBuf>
pub fn write_attachment( &self, source_name: &str, bytes: &[u8], ) -> Result<PathBuf>
pub fn write_attachment_named( &self, source_name: &str, bytes: &[u8], ) -> Result<PathBuf>
pub fn write_attachment_auto( &self, uuid: &str, attachment_name: Option<&str>, content_type: Option<&str>, bytes: &[u8], ) -> Result<(String, PathBuf)>
Trait Implementations§
Source§impl Clone for FileSystemResultsWriter
impl Clone for FileSystemResultsWriter
Source§fn clone(&self) -> FileSystemResultsWriter
fn clone(&self) -> FileSystemResultsWriter
Returns a duplicate of the value. Read more
1.0.0 · 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 FileSystemResultsWriter
impl RefUnwindSafe for FileSystemResultsWriter
impl Send for FileSystemResultsWriter
impl Sync for FileSystemResultsWriter
impl Unpin for FileSystemResultsWriter
impl UnsafeUnpin for FileSystemResultsWriter
impl UnwindSafe for FileSystemResultsWriter
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