pub struct UpdateServerConfig { /* private fields */ }Expand description
Configuration for the read-only Hyperlane HTTP + SSE update server (never holds signing keys).
Implementations§
Source§impl UpdateServerConfig
impl UpdateServerConfig
pub fn get_store_root(&self) -> &PathBuf
pub fn get_mut_store_root(&mut self) -> &mut PathBuf
pub fn set_store_root(&mut self, val: PathBuf) -> &mut Self
pub fn get_host(&self) -> &String
pub fn get_mut_host(&mut self) -> &mut String
pub fn set_host(&mut self, val: String) -> &mut Self
pub fn get_port(&self) -> u16
pub fn get_mut_port(&mut self) -> &mut u16
pub fn set_port(&mut self, val: u16) -> &mut Self
pub fn get_heartbeat_ms(&self) -> u64
pub fn get_mut_heartbeat_ms(&mut self) -> &mut u64
pub fn set_heartbeat_ms(&mut self, val: u64) -> &mut Self
pub fn get_retry_ms(&self) -> u64
pub fn get_mut_retry_ms(&mut self) -> &mut u64
pub fn set_retry_ms(&mut self, val: u64) -> &mut Self
pub fn get_replay_capacity(&self) -> usize
pub fn get_mut_replay_capacity(&mut self) -> &mut usize
pub fn set_replay_capacity(&mut self, val: usize) -> &mut Self
pub fn get_watch_poll_ms(&self) -> u64
pub fn get_mut_watch_poll_ms(&mut self) -> &mut u64
pub fn set_watch_poll_ms(&mut self, val: u64) -> &mut Self
pub fn get_max_artifact_bytes(&self) -> u64
pub fn get_mut_max_artifact_bytes(&mut self) -> &mut u64
pub fn set_max_artifact_bytes(&mut self, val: u64) -> &mut Self
pub fn get_once(&self) -> bool
pub fn get_mut_once(&mut self) -> &mut bool
pub fn set_once(&mut self, val: bool) -> &mut Self
Trait Implementations§
Source§impl Clone for UpdateServerConfig
impl Clone for UpdateServerConfig
Source§impl Debug for UpdateServerConfig
impl Debug for UpdateServerConfig
Source§impl Default for UpdateServerConfig
Production defaults for UpdateServerConfig.
impl Default for UpdateServerConfig
Production defaults for UpdateServerConfig.
Source§impl<'de> Deserialize<'de> for UpdateServerConfig
impl<'de> Deserialize<'de> for UpdateServerConfig
Source§fn 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
impl Eq for UpdateServerConfig
Source§impl PartialEq for UpdateServerConfig
impl PartialEq for UpdateServerConfig
Source§impl Serialize for UpdateServerConfig
impl Serialize for UpdateServerConfig
impl StructuralPartialEq for UpdateServerConfig
Auto Trait Implementations§
impl Forget for UpdateServerConfig
impl Freeze for UpdateServerConfig
impl Move for UpdateServerConfig
impl RefUnwindSafe for UpdateServerConfig
impl Send for UpdateServerConfigwhere
RawVecInner: Send,
impl Sync for UpdateServerConfigwhere
RawVecInner: Sync,
impl Unpin for UpdateServerConfig
impl UnsafeUnpin for UpdateServerConfig
impl UnwindSafe for UpdateServerConfigwhere
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more