Skip to main content

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 {
Show 13 variants InvalidByte { byte: BString, }, StartsWithSlash, RepeatedSlash, RepeatedDot, LockFileSuffix, ReflogPortion, Asterisk, StartsWithDot, EndsWithDot, EndsWithSlash, Empty, SomeLowercase, Reserved { name: BString, },
}

Variants§

§

InvalidByte

Fields

§byte: BString
§

StartsWithSlash

§

RepeatedSlash

§

RepeatedDot

§

LockFileSuffix

§

ReflogPortion

§

Asterisk

§

StartsWithDot

§

EndsWithDot

§

EndsWithSlash

§

Empty

§

SomeLowercase

§

Reserved

Fields

§name: BString