[−][src]Struct queen_io::queue::spsc::Queue
Methods
impl<T: Send> Queue<T>
[src]
pub fn with_cache(bound: usize) -> Result<Queue<T>>
[src]
pub fn push(&self, value: T)
[src]
pub fn pop(&self) -> Option<T>
[src]
pub fn pending(&self) -> usize
[src]
Trait Implementations
impl<T: Send> Evented for Queue<T>
[src]
fn add(
&self,
epoll: &Epoll,
token: Token,
interest: Ready,
opts: EpollOpt
) -> Result<()>
[src]
&self,
epoll: &Epoll,
token: Token,
interest: Ready,
opts: EpollOpt
) -> Result<()>
fn modify(
&self,
epoll: &Epoll,
token: Token,
interest: Ready,
opts: EpollOpt
) -> Result<()>
[src]
&self,
epoll: &Epoll,
token: Token,
interest: Ready,
opts: EpollOpt
) -> Result<()>
fn delete(&self, epoll: &Epoll) -> Result<()>
[src]
impl<T: Send> Clone for Queue<T>
[src]
impl<T: Send> AsRawFd for Queue<T>
[src]
Auto Trait Implementations
impl<T> Send for Queue<T>
impl<T> Sync for Queue<T>
impl<T> Unpin for Queue<T>
impl<T> !UnwindSafe for Queue<T>
impl<T> !RefUnwindSafe for Queue<T>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,