pub struct ConnectClient { /* private fields */ }Expand description
A Connect/gRPC bridge client.
Implementations§
Source§impl ConnectClient
impl ConnectClient
Sourcepub fn with_limits(self, limits: WireLimits) -> Self
pub fn with_limits(self, limits: WireLimits) -> Self
Use tighter limits.
Sourcepub fn call(&mut self, envelope: &Envelope) -> Result<Envelope>
pub fn call(&mut self, envelope: &Envelope) -> Result<Envelope>
Call the bridge with one envelope.
Auto Trait Implementations§
impl Freeze for ConnectClient
impl RefUnwindSafe for ConnectClient
impl Send for ConnectClient
impl Sync for ConnectClient
impl Unpin for ConnectClient
impl UnsafeUnpin for ConnectClient
impl UnwindSafe for ConnectClient
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