Struct git_transport::client::capabilities::Capability[][src]

pub struct Capability<'a>(_);
Expand description

The name of a single capability.

Implementations

Returns the name of the capability.

Most capabilities only consist of a name, making them appear like a feature toggle.

Returns the value associated with the capability.

Note that the caller must know whether a single or multiple values are expected, in which case values() should be called.

Returns the values of a capability if its value() is space separated.

Returns true if its space-separated value() contains the given wanted capability.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.