# LoadedImageSourceLoadStatus

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/rendering/composition/enum-loadedimagesourceloadstatus/

**enum** · [`ferroui-base`](/docs/0.5.0/api/ferroui-base/) · v0.5.0

```rust
enum LoadedImageSourceLoadStatus
```

The outcome of loading a [`LoadedImageSurface`](/docs/0.5.0/api/ferroui-base/rendering/composition/struct-loadedimagesurface/) (WinUI
`Microsoft.UI.Xaml.Media.LoadedImageSourceLoadStatus`).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/loaded_image_surface.rs#L12)

## Members

- [`Success`](#variant-success)
- [`NetworkError`](#variant-networkerror)
- [`InvalidFormat`](#variant-invalidformat)
- [`Other`](#variant-other)

<a id="variant-success"></a>

### Success

```rust
Success
```

The image was loaded.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/loaded_image_surface.rs#L15)

<a id="variant-networkerror"></a>

### NetworkError

```rust
NetworkError
```

The image could not be read from its source.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/loaded_image_surface.rs#L17)

<a id="variant-invalidformat"></a>

### InvalidFormat

```rust
InvalidFormat
```

The data is not an image the platform can decode.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/loaded_image_surface.rs#L19)

<a id="variant-other"></a>

### Other

```rust
Other
```

Another error.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/loaded_image_surface.rs#L21)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`ResourceKeyObject`](/docs/0.5.0/api/ferroui-base/controls/trait-resourcekeyobject/)
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Copy`
- `Debug`
- `Default`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Hash`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
