pub enum SessionFormat {
ClaudeCode,
Codex,
}Expand description
An on-disk session format supercode can both read and write.
Like an image editor that opens and exports several file formats, supercode
keeps one canonical in-memory model (Session) and converts to/from each
supported format on the edges.
Variants§
Implementations§
Source§impl SessionFormat
impl SessionFormat
Sourcepub fn source(self) -> SessionSource
pub fn source(self) -> SessionSource
The SessionSource a file of this format reports.
Trait Implementations§
Source§impl Clone for SessionFormat
impl Clone for SessionFormat
Source§fn clone(&self) -> SessionFormat
fn clone(&self) -> SessionFormat
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 moreimpl Copy for SessionFormat
Source§impl Debug for SessionFormat
impl Debug for SessionFormat
impl Eq for SessionFormat
Source§impl PartialEq for SessionFormat
impl PartialEq for SessionFormat
Source§fn eq(&self, other: &SessionFormat) -> bool
fn eq(&self, other: &SessionFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionFormat
Auto Trait Implementations§
impl Freeze for SessionFormat
impl RefUnwindSafe for SessionFormat
impl Send for SessionFormat
impl Sync for SessionFormat
impl Unpin for SessionFormat
impl UnsafeUnpin for SessionFormat
impl UnwindSafe for SessionFormat
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