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
Source§fn clone(&self) -> ExpandCursor
fn clone(&self) -> ExpandCursor
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 ExpandCursor
Source§impl Debug for ExpandCursor
impl Debug for ExpandCursor
Source§impl Default for ExpandCursor
impl Default for ExpandCursor
Source§fn default() -> ExpandCursor
fn default() -> ExpandCursor
Returns the “default value” for a type. Read more
impl Eq for ExpandCursor
Source§impl PartialEq for ExpandCursor
impl PartialEq for ExpandCursor
impl StructuralPartialEq for ExpandCursor
Auto Trait Implementations§
impl Freeze 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