pub struct ChannelClient { /* private fields */ }
Implementations§
Source§impl ChannelClient
impl ChannelClient
pub fn req_with_param( &mut self, uri: impl Into<String>, param: Param, ) -> Result<(), ChannelError>
pub fn req_with_body( &mut self, uri: impl Into<String>, body: Body, ) -> Result<(), ChannelError>
pub fn req_with_param_body( &mut self, uri: impl Into<String>, param: Param, body: Body, ) -> Result<(), ChannelError>
pub fn subject(&mut self, uri: &'static str)
pub fn fetch_topic(&mut self, uri: &'static str) -> Option<Vec<Response>>
Auto Trait Implementations§
impl Freeze for ChannelClient
impl RefUnwindSafe for ChannelClient
impl Send for ChannelClient
impl Sync for ChannelClient
impl Unpin for ChannelClient
impl UnwindSafe for ChannelClient
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