Error

Type Alias Error 

Source
pub type Error = Error;
Expand description

The error used in the PartialNameRef::try_from(…) implementations.

Aliased Type§

pub enum Error {
    InvalidByte {
        byte: BString,
    },
    StartsWithSlash,
    RepeatedSlash,
    RepeatedDot,
    LockFileSuffix,
    ReflogPortion,
    Asterisk,
    StartsWithDot,
    EndsWithDot,
    EndsWithSlash,
    Empty,
    SomeLowercase,
}

Variants§

§

InvalidByte

Fields

§byte: BString
§

StartsWithSlash

§

RepeatedSlash

§

RepeatedDot

§

LockFileSuffix

§

ReflogPortion

§

Asterisk

§

StartsWithDot

§

EndsWithDot

§

EndsWithSlash

§

Empty

§

SomeLowercase