pub struct TrustedClient { /* private fields */ }Implementations§
Source§impl TrustedClient
impl TrustedClient
pub fn outcome(&self) -> &DiscoveryOutcome
pub async fn connect( self, local_addr: SocketAddr, credentials: NodeCredentials, ) -> Result<ActiveSession, AlpineSdkError>
Trait Implementations§
Source§impl Clone for TrustedClient
impl Clone for TrustedClient
Source§fn clone(&self) -> TrustedClient
fn clone(&self) -> TrustedClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TrustedClient
impl RefUnwindSafe for TrustedClient
impl Send for TrustedClient
impl Sync for TrustedClient
impl Unpin for TrustedClient
impl UnsafeUnpin for TrustedClient
impl UnwindSafe for TrustedClient
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