[−][src]Struct golem_rpc_api::core::GolemCore
Methods
impl<'a, Inner: RpcEndpoint + ?Sized + 'static> GolemCore<'a, Inner>
[src]
pub fn get_settings<'b>(
&'b self
) -> impl Future<Output = Result<Map<String, Value>, Error>> + 'static
[src]
&'b self
) -> impl Future<Output = Result<Map<String, Value>, Error>> + 'static
Get Golem node settings described in appconfig.ini file
Calls env.opts
RPC URI.
pub fn raw_get_setting(
&self,
key: String
) -> impl Future<Output = Result<Value, Error>>
[src]
&self,
key: String
) -> impl Future<Output = Result<Value, Error>>
Calls env.opt
RPC URI.
pub fn raw_update_setting(
&self,
key: String,
value: Value
) -> impl Future<Output = Result<(), Error>>
[src]
&self,
key: String,
value: Value
) -> impl Future<Output = Result<(), Error>>
Calls env.opt.update
RPC URI.
pub fn update_settings(
&self,
settings_dict: Map<String, Value>
) -> impl Future<Output = Result<(), Error>>
[src]
&self,
settings_dict: Map<String, Value>
) -> impl Future<Output = Result<(), Error>>
Calls env.opts.update
RPC URI.
pub fn get_datadir<'b>(
&'b self
) -> impl Future<Output = Result<String, Error>> + 'static
[src]
&'b self
) -> impl Future<Output = Result<String, Error>> + 'static
Calls env.datadir
RPC URI.
pub fn get_version<'b>(
&'b self
) -> impl Future<Output = Result<String, Error>> + 'static
[src]
&'b self
) -> impl Future<Output = Result<String, Error>> + 'static
Calls golem.version
RPC URI.
pub fn key_exists<'b>(
&'b self
) -> impl Future<Output = Result<bool, Error>> + 'static
[src]
&'b self
) -> impl Future<Output = Result<bool, Error>> + 'static
Calls golem.password.key_exists
RPC URI.
pub fn set_password(
&self,
password: String
) -> impl Future<Output = Result<bool, Error>>
[src]
&self,
password: String
) -> impl Future<Output = Result<bool, Error>>
Calls golem.password.set
RPC URI.
pub fn is_account_unlocked<'b>(
&'b self
) -> impl Future<Output = Result<bool, Error>> + 'static
[src]
&'b self
) -> impl Future<Output = Result<bool, Error>> + 'static
Calls golem.password.unlocked
RPC URI.
pub fn is_mainnet<'b>(
&'b self
) -> impl Future<Output = Result<bool, Error>> + 'static
[src]
&'b self
) -> impl Future<Output = Result<bool, Error>> + 'static
Calls golem.mainnet
RPC URI.
pub fn status<'b>(
&'b self
) -> impl Future<Output = Result<ServerStatus, Error>> + 'static
[src]
&'b self
) -> impl Future<Output = Result<ServerStatus, Error>> + 'static
Calls golem.status
RPC URI.
impl<'a, Endpoint: RpcEndpoint + 'static> GolemCore<'a, Endpoint>
[src]
pub fn update_setting<S: Setting>(
&self,
value: impl AsRef<S::Item>
) -> impl Future<Output = Result<(), Error>>
[src]
&self,
value: impl AsRef<S::Item>
) -> impl Future<Output = Result<(), Error>>
pub fn update_setting_dyn(
&self,
setting: &dyn DynamicSetting,
value: &str
) -> impl Future<Output = Result<(), Error>> + 'static
[src]
&self,
setting: &dyn DynamicSetting,
value: &str
) -> impl Future<Output = Result<(), Error>> + 'static
pub fn get_setting<S: Setting>(
&self
) -> impl Future<Output = Result<S::Item, Error>>
[src]
&self
) -> impl Future<Output = Result<S::Item, Error>>
Auto Trait Implementations
impl<'a, Inner: ?Sized> RefUnwindSafe for GolemCore<'a, Inner> where
Inner: RefUnwindSafe,
Inner: RefUnwindSafe,
impl<'a, Inner: ?Sized> Send for GolemCore<'a, Inner> where
Inner: Sync,
Inner: Sync,
impl<'a, Inner: ?Sized> Sync for GolemCore<'a, Inner> where
Inner: Sync,
Inner: Sync,
impl<'a, Inner: ?Sized> Unpin for GolemCore<'a, Inner>
impl<'a, Inner: ?Sized> UnwindSafe for GolemCore<'a, Inner> where
Inner: RefUnwindSafe,
Inner: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,