pub struct ExpandCursor { /* private fields */ }Expand description
How far a wildcard expansion got, so the next message can carry on from there.
A whole-node wildcard expands to more than one message holds, and Core §10.2.3 answers that by chunking rather than truncating. Chunking needs somewhere to resume, and this is it: three indices into the endpoint, cluster and attribute slices, which is enough to name a position without borrowing the node or remembering the paths already sent.
ExpandCursor::START is the beginning. A cursor is only meaningful against the node
and path that produced it — the indices are positional, so feeding one to a different
node resumes at a position that means something else.
Implementations§
Trait Implementations§
Source§impl Clone for ExpandCursor
impl Clone for ExpandCursor
impl Copy for ExpandCursor
Source§impl Debug for ExpandCursor
impl Debug for ExpandCursor
Source§impl Default for ExpandCursor
impl Default for ExpandCursor
impl Eq for ExpandCursor
Source§impl PartialEq for ExpandCursor
impl PartialEq for ExpandCursor
impl StructuralPartialEq for ExpandCursor
Auto Trait Implementations§
impl Forget for ExpandCursor
impl Freeze for ExpandCursor
impl Move for ExpandCursor
impl RefUnwindSafe for ExpandCursor
impl Send for ExpandCursor
impl Sync for ExpandCursor
impl Unpin for ExpandCursor
impl UnsafeUnpin for ExpandCursor
impl UnwindSafe for ExpandCursor
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