[][src]Struct ckb_app_config::RpcConfig

pub struct RpcConfig {
    pub listen_address: String,
    pub tcp_listen_address: Option<String>,
    pub ws_listen_address: Option<String>,
    pub max_request_body_size: usize,
    pub threads: Option<usize>,
    pub modules: Vec<Module>,
    pub reject_ill_transactions: bool,
    pub enable_deprecated_rpc: bool,
}

Fields

listen_address: Stringtcp_listen_address: Option<String>ws_listen_address: Option<String>max_request_body_size: usizethreads: Option<usize>modules: Vec<Module>reject_ill_transactions: boolenable_deprecated_rpc: bool

Implementations

impl Config[src]

pub fn net_enable(&self) -> bool[src]

pub fn chain_enable(&self) -> bool[src]

pub fn miner_enable(&self) -> bool[src]

pub fn pool_enable(&self) -> bool[src]

pub fn experiment_enable(&self) -> bool[src]

pub fn stats_enable(&self) -> bool[src]

pub fn subscription_enable(&self) -> bool[src]

pub fn indexer_enable(&self) -> bool[src]

pub fn integration_test_enable(&self) -> bool[src]

pub fn alert_enable(&self) -> bool[src]

pub fn debug_enable(&self) -> bool[src]

Trait Implementations

impl Clone for Config[src]

impl Debug for Config[src]

impl<'de> Deserialize<'de> for Config[src]

impl PartialEq<Config> for Config[src]

impl Serialize for Config[src]

impl StructuralPartialEq for Config[src]

Auto Trait Implementations

impl RefUnwindSafe for Config

impl Send for Config

impl Sync for Config

impl Unpin for Config

impl UnwindSafe for Config

Blanket Implementations

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

impl<T> AsAny for T where
    T: Any
[src]

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

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