Struct dove::driver::SessionDriver
source · pub struct SessionDriver { /* private fields */ }
Implementations§
source§impl SessionDriver
impl SessionDriver
pub fn dispatch(&self, frame: AmqpFrame) -> Result<()>
pub fn close(&self, error: Option<ErrorCondition>) -> Result<()>
pub async fn new_link( &self, address: &str, options: impl Into<LinkOptions> ) -> Result<(String, Arc<LinkDriver>)>
pub async fn recv(&self) -> Result<AmqpFrame>
pub fn unrecv(&self, frame: AmqpFrame) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SessionDriver
impl Send for SessionDriver
impl Sync for SessionDriver
impl Unpin for SessionDriver
impl UnwindSafe for SessionDriver
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