# PendingWebGlFrame

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-media-browser/struct-pendingwebglframe/

**struct** · [`ferroui-media-browser`](/docs/0.5.0/api/ferroui-media-browser/) · v0.5.0

```rust
struct PendingWebGlFrame
```

Cancellation drops the caller's view; the fence retains submitted storage.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Browser/lib.rs#L339)

## Members

- [`poll`](#function-poll)
- [`finish`](#function-finish)

<a id="function-poll"></a>

### poll

```rust
fn poll(self: &Self) -> Result<Option<FrameLease>, MediaError>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Browser/lib.rs#L444)

<a id="function-finish"></a>

### finish

```rust
async fn finish(self: Self) -> Result<FrameLease, MediaError>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Browser/lib.rs#L462)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- [`Upcast<T>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)

## Availability

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