Struct scylla_rs::app::ScyllaBuilder[][src]

pub struct ScyllaBuilder<H> { /* fields omitted */ }

Implementations

impl<H> ScyllaBuilder<H>[src]

pub fn new() -> Self[src]

Create a new $struct

pub fn listen_address(self, listen_address: String) -> Self[src]

Set $field on the builder

pub fn reporter_count(self, reporter_count: u8) -> Self[src]

Set $field on the builder

pub fn thread_count(self, thread_count: usize) -> Self[src]

Set $field on the builder

pub fn local_dc(self, local_dc: String) -> Self[src]

Set $field on the builder

pub fn buffer_size(self, buffer_size: usize) -> Self[src]

Set $field on the builder

pub fn recv_buffer_size(self, recv_buffer_size: u32) -> Self[src]

Set $field on the builder

pub fn send_buffer_size(self, send_buffer_size: u32) -> Self[src]

Set $field on the builder

pub fn listener_handle(self, listener_handle: ListenerHandle) -> Self[src]

Set $field on the builder

pub fn cluster_handle(self, cluster_handle: ClusterHandle) -> Self[src]

Set $field on the builder

pub fn authenticator(self, authenticator: PasswordAuth) -> Self[src]

Set $field on the builder

Trait Implementations

impl<H: ScyllaScope> AppBuilder<H> for ScyllaBuilder<H>[src]

implementation of the AppBuilder

impl<H: ScyllaScope> Builder for ScyllaBuilder<H>[src]

implementation of builder

type State = Scylla<H>

The “state” (actor type) which is built

impl<H: Clone> Clone for ScyllaBuilder<H>[src]

impl<H: Default> Default for ScyllaBuilder<H>[src]

impl<H: ScyllaScope> Starter<H> for ScyllaBuilder<H>[src]

type Ok = ScyllaHandle<H>

type Error = Error

type Input = Scylla<H>

impl<H: ScyllaScope> ThroughType for ScyllaBuilder<H>[src]

implementation of through type

type Through = ScyllaThrough

identfiy the Through which is the event type with predefind functionality to the outdoor (ie websocket msg)

Auto Trait Implementations

impl<H> !RefUnwindSafe for ScyllaBuilder<H>

impl<H> Send for ScyllaBuilder<H> where
    H: Send

impl<H> Sync for ScyllaBuilder<H> where
    H: Sync

impl<H> Unpin for ScyllaBuilder<H> where
    H: Unpin

impl<H> !UnwindSafe for ScyllaBuilder<H>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,