pub struct RpcConfig { /* private fields */ }Implementations§
Source§impl RpcConfig
Inherent implementation of RpcConfig.
impl RpcConfig
Inherent implementation of RpcConfig.
Sourcepub fn with_endpoint<E>(self, endpoint: E) -> Self
pub fn with_endpoint<E>(self, endpoint: E) -> Self
Sourcepub fn with_max_body_size(self, max_body_size: usize) -> Self
pub fn with_max_body_size(self, max_body_size: usize) -> Self
Sourcepub fn with_max_batch_size(self, max_batch_size: usize) -> Self
pub fn with_max_batch_size(self, max_batch_size: usize) -> Self
Source§impl RpcConfig
impl RpcConfig
pub fn get_endpoint(&self) -> &String
pub fn get_mut_endpoint(&mut self) -> &mut String
pub fn set_endpoint(&mut self, val: String) -> &mut Self
pub fn get_max_body_size(&self) -> usize
pub fn get_mut_max_body_size(&mut self) -> &mut usize
pub fn set_max_body_size(&mut self, val: usize) -> &mut Self
pub fn get_max_batch_size(&self) -> usize
pub fn get_mut_max_batch_size(&mut self) -> &mut usize
pub fn set_max_batch_size(&mut self, val: usize) -> &mut Self
Trait Implementations§
impl Eq for RpcConfig
impl StructuralPartialEq for RpcConfig
Auto Trait Implementations§
impl Forget for RpcConfig
impl Freeze for RpcConfig
impl Move for RpcConfig
impl RefUnwindSafe for RpcConfig
impl Send for RpcConfigwhere
RawVecInner: Send,
impl Sync for RpcConfigwhere
RawVecInner: Sync,
impl Unpin for RpcConfig
impl UnsafeUnpin for RpcConfig
impl UnwindSafe for RpcConfigwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.