pub struct GitHubQueueAcceptor<ConnT = GitHubClient> { /* private fields */ }Implementations§
Source§impl<ConnT> GitHubQueueAcceptor<ConnT>where
ConnT: QueueConnection,
impl<ConnT> GitHubQueueAcceptor<ConnT>where
ConnT: QueueConnection,
pub async fn new(conn: Arc<ConnT>, id: &str) -> Result<Self>
pub async fn accept_one(&mut self) -> Result<GitHubQueue<ConnT>>
Auto Trait Implementations§
impl<ConnT> Freeze for GitHubQueueAcceptor<ConnT>
impl<ConnT> RefUnwindSafe for GitHubQueueAcceptor<ConnT>where
ConnT: RefUnwindSafe,
impl<ConnT> Send for GitHubQueueAcceptor<ConnT>
impl<ConnT> Sync for GitHubQueueAcceptor<ConnT>
impl<ConnT> Unpin for GitHubQueueAcceptor<ConnT>
impl<ConnT> UnwindSafe for GitHubQueueAcceptor<ConnT>where
ConnT: RefUnwindSafe,
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