pub struct Tx3Client { /* private fields */ }Expand description
High-level client that ties a protocol to a TRP client.
Implementations§
Source§impl Tx3Client
impl Tx3Client
Sourcepub fn with_profile(self, profile: impl Into<String>) -> Self
pub fn with_profile(self, profile: impl Into<String>) -> Self
Sets the profile for all invocations created by this client.
This profile is applied to every invocation created by the client.
Sourcepub fn with_party(self, name: impl Into<String>, party: Party) -> Self
pub fn with_party(self, name: impl Into<String>, party: Party) -> Self
Attaches a party definition to this client.
Sourcepub fn with_parties<I, K>(self, parties: I) -> Self
pub fn with_parties<I, K>(self, parties: I) -> Self
Attaches multiple party definitions to this client.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tx3Client
impl !RefUnwindSafe for Tx3Client
impl Send for Tx3Client
impl Sync for Tx3Client
impl Unpin for Tx3Client
impl UnsafeUnpin for Tx3Client
impl !UnwindSafe for Tx3Client
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