pub struct RemoteManagementClient { /* private fields */ }Implementations§
Source§impl RemoteManagementClient
impl RemoteManagementClient
pub fn connect( config_path: Option<&Path>, management_identity_path: Option<&Path>, timeout: Duration, ) -> Result<Self, RemoteManagementError>
pub fn status( &mut self, transport_identity_hash: [u8; 16], include_link_count: bool, ) -> Result<RemoteStatus, RemoteManagementError>
pub fn status_with_profiling( &mut self, transport_identity_hash: [u8; 16], include_link_count: bool, include_profiling: bool, ) -> Result<RemoteStatus, RemoteManagementError>
pub fn path_table( &mut self, transport_identity_hash: [u8; 16], destination_filter: Option<[u8; 16]>, max_hops: Option<u8>, ) -> Result<PickleValue, RemoteManagementError>
pub fn rate_table( &mut self, transport_identity_hash: [u8; 16], destination_filter: Option<[u8; 16]>, ) -> Result<PickleValue, RemoteManagementError>
pub fn published_blackhole_list( &mut self, transport_identity_hash: [u8; 16], ) -> Result<PickleValue, RemoteManagementError>
Auto Trait Implementations§
impl !RefUnwindSafe for RemoteManagementClient
impl !Sync for RemoteManagementClient
impl !UnwindSafe for RemoteManagementClient
impl Freeze for RemoteManagementClient
impl Send for RemoteManagementClient
impl Unpin for RemoteManagementClient
impl UnsafeUnpin for RemoteManagementClient
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> InterfaceConfigData for Twhere
T: Send + 'static,
impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
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