Struct connchk::NetworkResources
source · Expand description
Provides a deserialize target for TOML configuration files
defining multiple Resource
entities
Fields
target: Vec<Resource>
Implementations
sourceimpl NetworkResources
impl NetworkResources
sourcepub fn check_resources(&mut self)
pub fn check_resources(&mut self)
Executes parallel connectivity checks for all Resource
objects contained within the higher level NetworkResources
struct. Prints success message with call latency or failure message
with available details. Maintains the resource order defined in the
supplied TOML configuration file.
Trait Implementations
sourceimpl Debug for NetworkResources
impl Debug for NetworkResources
sourceimpl<'de> Deserialize<'de> for NetworkResources
impl<'de> Deserialize<'de> for NetworkResources
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 NetworkResources
impl Send for NetworkResources
impl Sync for NetworkResources
impl Unpin for NetworkResources
impl UnwindSafe for NetworkResources
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