# UsbTransferStatus

`import { UsbTransferStatus } from "destack:device/binding";`

USB transfer status.

```ds title="UsbTransferStatus"
export enum UsbTransferStatus {
    Completed = 1,
    Stalled = 2,
    TimedOut = 3,
    Cancelled = 4,
    Failed = 5,
    Short = 6,
}
```

[language/library/src/device/binding/usb.ds:70:83](https://github.com/destack-sh/destack/blob/main/language/library/src/device/binding/usb.ds#L70-L83)

## Variants

### `Completed = 1`

Transfer completed successfully.

### `Stalled = 2`

Transfer ended with a stall condition.

### `TimedOut = 3`

Transfer timed out.

### `Cancelled = 4`

Transfer was cancelled.

### `Failed = 5`

Transfer failed for a host-specific reason.

### `Short = 6`

Transfer completed with fewer bytes than requested.
