Enum cosmogony::file_format::OutputFormat
source · pub enum OutputFormat {
Json,
JsonGz,
JsonStream,
JsonStreamGz,
}
Variants§
Implementations§
source§impl OutputFormat
impl OutputFormat
pub fn from_filename(filename: impl AsRef<Path>) -> Result<OutputFormat, Error>
Trait Implementations§
source§impl Clone for OutputFormat
impl Clone for OutputFormat
source§fn clone(&self) -> OutputFormat
fn clone(&self) -> OutputFormat
Returns a copy 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 moresource§impl PartialEq for OutputFormat
impl PartialEq for OutputFormat
source§fn eq(&self, other: &OutputFormat) -> bool
fn eq(&self, other: &OutputFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OutputFormat
Auto Trait Implementations§
impl RefUnwindSafe for OutputFormat
impl Send for OutputFormat
impl Sync for OutputFormat
impl Unpin for OutputFormat
impl UnwindSafe for OutputFormat
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