pub enum RepoPrefix {
Required,
Omitted,
}Expand description
Whether a repository prefix must be present. The handler always uses
Self::Required (indexed mode implies Multi addressing); Omitted
exists so the parser runs every single-repository golden vector.
Variants§
Required
/<namespace>/<name>/-/... only.
Omitted
A bare name or a namespaced identity, or no prefix at all.
Trait Implementations§
Source§impl Clone for RepoPrefix
impl Clone for RepoPrefix
impl Copy for RepoPrefix
Source§impl Debug for RepoPrefix
impl Debug for RepoPrefix
impl Eq for RepoPrefix
Source§impl PartialEq for RepoPrefix
impl PartialEq for RepoPrefix
impl StructuralPartialEq for RepoPrefix
Auto Trait Implementations§
impl Freeze for RepoPrefix
impl RefUnwindSafe for RepoPrefix
impl Send for RepoPrefix
impl Sync for RepoPrefix
impl Unpin for RepoPrefix
impl UnsafeUnpin for RepoPrefix
impl UnwindSafe for RepoPrefix
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