pub struct ConsensusAPIGrpcParameters {
pub socket_addr: Multiaddr,
pub get_collections_timeout: Duration,
pub remove_collections_timeout: Duration,
}
Fields
socket_addr: Multiaddr
Socket address the server should be listening to.
get_collections_timeout: Duration
The timeout configuration when requesting batches from workers.
remove_collections_timeout: Duration
The timeout configuration when removing batches from workers.
Trait Implementations
sourceimpl Clone for ConsensusAPIGrpcParameters
impl Clone for ConsensusAPIGrpcParameters
sourcefn clone(&self) -> ConsensusAPIGrpcParameters
fn clone(&self) -> ConsensusAPIGrpcParameters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ConsensusAPIGrpcParameters
impl Debug for ConsensusAPIGrpcParameters
sourceimpl Default for ConsensusAPIGrpcParameters
impl Default for ConsensusAPIGrpcParameters
sourceimpl<'de> Deserialize<'de> for ConsensusAPIGrpcParameters
impl<'de> Deserialize<'de> for ConsensusAPIGrpcParameters
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ConsensusAPIGrpcParameters
impl Send for ConsensusAPIGrpcParameters
impl Sync for ConsensusAPIGrpcParameters
impl Unpin for ConsensusAPIGrpcParameters
impl UnwindSafe for ConsensusAPIGrpcParameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Clear for Twhere
T: InitializableFromZeroed + ?Sized,
impl<T> Clear for Twhere
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self)
fn clear(&mut self)
Completely overwrites this value.
sourceimpl<D> Import for Dwhere
D: DeserializeOwned,
impl<D> Import for Dwhere
D: DeserializeOwned,
fn import(path: &str) -> Result<Self, ConfigError>
impl<T> InitializableFromZeroed for Twhere
T: Default,
impl<T> InitializableFromZeroed for Twhere
T: Default,
unsafe fn initialize(place: *mut T)
unsafe fn initialize(place: *mut T)
Called to initialize a place to a valid value, after it is set
to all-bits-zero. Read more