pub enum IrDeserializeResult {
Ok(SerializedIr),
VersionMismatch {
expected: u32,
found: u32,
},
ParseError(String),
Unsupported(String),
}Expand description
The result of attempting to deserialize an IR snapshot.
Variants§
Ok(SerializedIr)
Deserialization succeeded.
VersionMismatch
The snapshot was written with a different format version.
ParseError(String)
The input could not be parsed.
Unsupported(String)
The requested format is not supported by this deserializer.
Trait Implementations§
Source§impl Clone for IrDeserializeResult
impl Clone for IrDeserializeResult
Source§fn clone(&self) -> IrDeserializeResult
fn clone(&self) -> IrDeserializeResult
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 moreSource§impl Debug for IrDeserializeResult
impl Debug for IrDeserializeResult
Source§impl PartialEq for IrDeserializeResult
impl PartialEq for IrDeserializeResult
impl Eq for IrDeserializeResult
impl StructuralPartialEq for IrDeserializeResult
Auto Trait Implementations§
impl Freeze for IrDeserializeResult
impl RefUnwindSafe for IrDeserializeResult
impl Send for IrDeserializeResult
impl Sync for IrDeserializeResult
impl Unpin for IrDeserializeResult
impl UnsafeUnpin for IrDeserializeResult
impl UnwindSafe for IrDeserializeResult
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