pub struct UringB<A, B, Ext = ()>(/* private fields */);
Implementations§
Trait Implementations§
Source§impl<A, B, Ext> Uring for UringB<A, B, Ext>
impl<A, B, Ext> Uring for UringB<A, B, Ext>
type A = B
type B = A
type Ext = Ext
fn header(&self) -> &Header<Ext>
fn sender(&self) -> Queue<'_, Self::A>
fn receiver(&self) -> Queue<'_, Self::B>
fn ext(&self) -> &Self::Ext
Source§fn is_connected(&self) -> bool
fn is_connected(&self) -> bool
Returns
true
if the remote Uring
is not dropped.fn send(&mut self, val: Self::A) -> Result<(), Self::A>
fn send_bulk<I>(&mut self, vals: I) -> usize
fn recv(&mut self) -> Option<Self::B>
fn recv_bulk(&mut self) -> Drain<'_, Self::B> ⓘ
impl<A: Send, B: Send, Ext: Send> Send for UringB<A, B, Ext>
Auto Trait Implementations§
impl<A, B, Ext> Freeze for UringB<A, B, Ext>
impl<A, B, Ext> RefUnwindSafe for UringB<A, B, Ext>
impl<A, B, Ext = ()> !Sync for UringB<A, B, Ext>
impl<A, B, Ext> Unpin for UringB<A, B, Ext>
impl<A, B, Ext> UnwindSafe for UringB<A, B, Ext>
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