ExScylla.Execution.ExecutionProfileHandle (ex_scylla v0.5.1)

Wrapper around rust module See rust documentation for more usage details: https://docs.rs/scylla/0.9.0/scylla/transport/execution_profile/struct.ExecutionProfileHandle.html

Summary

Types

@type opaque() :: any()

Functions

Link to this function

map_to_another_profile(eph, profile)

See: https://docs.rs/scylla/0.9.0/scylla/transport/execution_profile/struct.ExecutionProfileHandle.html#method.map_to_another_profile

Example

iex> ep = ExecutionProfile.builder() |> ExecutionProfileBuilder.build()
iex> eph = ExecutionProfile.builder()
...>          |> ExecutionProfileBuilder.build()
...>          |> ExecutionProfile.into_handle()
iex> ExecutionProfileHandle.map_to_another_profile(eph, ep)
Link to this function

pointee_to_builder(eph)

See: https://docs.rs/scylla/0.9.0/scylla/transport/execution_profile/struct.ExecutionProfileHandle.html#method.pointee_to_builder

Example

iex> eph = ExecutionProfile.builder()
...>          |> ExecutionProfileBuilder.build()
...>          |> ExecutionProfile.into_handle()
iex> epb = ExecutionProfileHandle.pointee_to_builder(eph)
iex> true = is_reference(epb)