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
Link to this type
opaque()
@type opaque() :: any()
Functions
Link to this function
map_to_another_profile(eph, profile)
@spec map_to_another_profile( ExScylla.Types.execution_profile_handle(), ExScylla.Types.execution_profile() ) :: ExScylla.Types.execution_profile_builder()
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)
@spec pointee_to_builder(ExScylla.Types.execution_profile_handle()) :: ExScylla.Types.execution_profile_builder()
Example
iex> eph = ExecutionProfile.builder()
...> |> ExecutionProfileBuilder.build()
...> |> ExecutionProfile.into_handle()
iex> epb = ExecutionProfileHandle.pointee_to_builder(eph)
iex> true = is_reference(epb)