pub struct Object;
Expand description
An atom containing multiple key-value pairs.
Trait Implementations§
Source§impl<'a, 'b> Atom<'a, 'b> for Objectwhere
'a: 'b,
impl<'a, 'b> Atom<'a, 'b> for Objectwhere
'a: 'b,
Source§type ReadParameter = ()
type ReadParameter = ()
The atom-specific parameter of the
read
function. Read moreSource§type ReadHandle = (ObjectHeader, ObjectReader<'a>)
type ReadHandle = (ObjectHeader, ObjectReader<'a>)
The return value of the
read
function. Read moreSource§type WriteParameter = ObjectHeader
type WriteParameter = ObjectHeader
The atom-specific parameter of the
write
function. Read moreSource§type WriteHandle = ObjectWriter<'a, 'b>
type WriteHandle = ObjectWriter<'a, 'b>
The return value of the
write
function. Read moreSource§fn read(body: Space<'a>, _: ()) -> Option<(ObjectHeader, ObjectReader<'a>)>
fn read(body: Space<'a>, _: ()) -> Option<(ObjectHeader, ObjectReader<'a>)>
Read the body of the atom. Read more
Source§fn init(
frame: FramedMutSpace<'a, 'b>,
header: ObjectHeader,
) -> Option<ObjectWriter<'a, 'b>>
fn init( frame: FramedMutSpace<'a, 'b>, header: ObjectHeader, ) -> Option<ObjectWriter<'a, 'b>>
Initialize the body of the atom. Read more
Auto Trait Implementations§
impl Freeze for Object
impl RefUnwindSafe for Object
impl Send for Object
impl Sync for Object
impl Unpin for Object
impl UnwindSafe for Object
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