pub struct RpcClient { /* private fields */ }Implementations§
Source§impl RpcClient
impl RpcClient
pub async fn connect( erlang_node: &NodeName, port: Option<u16>, cookie: &str, ) -> Result<Self>
pub async fn get_system_version(&self) -> Result<SystemVersion>
pub async fn get_system_info_u64(&self, item_name: &str) -> Result<u64>
pub async fn get_statistics_1st_u64(&self, item_name: &str) -> Result<u64>
pub async fn get_statistics_u64_list(&self, item_name: &str) -> Result<Vec<u64>>
pub async fn get_statistics_io(&self) -> Result<(u64, u64)>
pub async fn get_statistics_microstate_accounting( &self, ) -> Result<Vec<MSAccThread>>
pub async fn set_system_flag_bool( &self, name: &str, value: &str, ) -> Result<bool>
pub async fn get_memory(&self) -> Result<BTreeMap<String, u64>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RpcClient
impl !RefUnwindSafe for RpcClient
impl Send for RpcClient
impl Sync for RpcClient
impl Unpin for RpcClient
impl UnsafeUnpin for RpcClient
impl !UnwindSafe for RpcClient
Blanket Implementations§
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<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