pub struct GitHubQueue<ConnT: QueueConnection = GitHubClient> { /* private fields */ }Implementations§
Source§impl<ConnT> GitHubQueue<ConnT>where
ConnT: QueueConnection,
impl<ConnT> GitHubQueue<ConnT>where
ConnT: QueueConnection,
pub async fn connect(conn: ConnT, id: &str) -> Result<Self>
pub async fn read_msg(&mut self) -> Result<Option<Vec<u8>>>
pub async fn write_msg(&mut self, data: &[u8]) -> Result<()>
pub async fn shut_down(&mut self) -> Result<()>
pub fn into_split( self, ) -> (GitHubReadQueue<ConnT>, GitHubWriteQueue<ConnT::Blob>)
Auto Trait Implementations§
impl<ConnT> Freeze for GitHubQueue<ConnT>
impl<ConnT> RefUnwindSafe for GitHubQueue<ConnT>
impl<ConnT> Send for GitHubQueue<ConnT>
impl<ConnT> Sync for GitHubQueue<ConnT>
impl<ConnT> Unpin for GitHubQueue<ConnT>
impl<ConnT> UnwindSafe for GitHubQueue<ConnT>
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