enum DumpedObject {
Show 17 variants
Nil,
Int(i64),
Float(f64),
String(String),
ByteString(Vec<u8>),
Symbol {
name: String,
interned: bool,
},
Cons {
car: u32,
cdr: u32,
},
Vec(Vec<u32>),
ByteFn {
args: u64,
depth: usize,
codes: Vec<u8>,
consts: Vec<u32>,
},
Subr(String),
Record(Vec<u32>),
HashTable(Vec<(u32, u32)>),
Buffer,
CharTable,
BigInt(String),
ChannelSender,
ChannelReceiver,
}Expand description
A serialized representation of a single GC object, decoupled from live pointers. Children are referenced by ObjId rather than raw addresses.
Variants§
Nil
Int(i64)
Float(f64)
String(String)
ByteString(Vec<u8>)
Symbol
Cons
Vec(Vec<u32>)
ByteFn
Subr(String)
SubrFn contains a Rust fn pointer which can’t be serialized. We store only the name during serialization; the loader will recover the function pointer by name lookup.
Record(Vec<u32>)
HashTable(Vec<(u32, u32)>)
Buffer
CharTable
BigInt(String)
ChannelSender
ChannelReceiver
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DumpedObject
impl RefUnwindSafe for DumpedObject
impl Send for DumpedObject
impl Sync for DumpedObject
impl Unpin for DumpedObject
impl UnsafeUnpin for DumpedObject
impl UnwindSafe for DumpedObject
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