Extensions on
LockProvider
Methods
_output(from:)
@_spi(Private)
func _output(from input: Input) -> Output
Generate an output.
Parameters
| Name | Type | Description |
|---|---|---|
| input | Input |
Some |
Returns
Some Output.
unlock(with:)
func unlock<T>(with key: Key) -> Secret.Output
where Secret: OffsetProvider, Secret.Offset == T?
Unlock an optionally offsetted output.
Parameters
| Name | Type | Description |
|---|---|---|
| key | Key |
Some |
Returns
Some Secret.Output.
unlock()
func unlock<T>() -> Secret.Output where Input == Void, Secret: OffsetProvider, Secret.Offset == T?
Unlock an optionally offsetted output.
Parameters
| Name | Type | Description |
|---|---|---|
| key | Some |
Returns
Some Secret.Output.
unlock()
func unlock<T1, T2>() -> Secret.Output where Input == T1?, Secret: OffsetProvider, Secret.Offset == T2?
Unlock an optionally offsetted output.
Parameters
| Name | Type | Description |
|---|---|---|
| key | Some |
Returns
Some Secret.Output.