[go: up one dir, main page]

Type Alias Id

Source
pub type Id = [u8; 4];
Expand description

Four bytes of function-local unique and stable identifier for each item added as progress, like b“TREE“ or b“FILE“.

Note that uniqueness only relates to one particular method call where those interested in its progress may assume certain stable ids to look for when selecting specific bits of progress to process.

Trait Implementations§

Source§

impl From<ProgressId> for Id

Available on crate feature worktree-mutation only.
Source§

fn from(v: ProgressId) -> Self

Converts to this type from the input type.