pub struct Txpool<T> { /* private fields */ }Expand description
Txpool namespace
Implementations
sourceimpl<T: Transport> Txpool<T>
impl<T: Transport> Txpool<T>
sourcepub fn content(&self) -> CallFuture<TxpoolContentInfo, T::Out>ⓘNotable traits for CallFuture<T, F>impl<T, F> Future for CallFuture<T, F>where
T: DeserializeOwned,
F: Future<Output = Result<Vec<u8>>>, type Output = Result<T>;
pub fn content(&self) -> CallFuture<TxpoolContentInfo, T::Out>ⓘNotable traits for CallFuture<T, F>impl<T, F> Future for CallFuture<T, F>where
T: DeserializeOwned,
F: Future<Output = Result<Vec<u8>>>, type Output = Result<T>;
T: DeserializeOwned,
F: Future<Output = Result<Vec<u8>>>, type Output = Result<T>;
returns txpool content info
sourcepub fn inspect(&self) -> CallFuture<TxpoolInspectInfo, T::Out>ⓘNotable traits for CallFuture<T, F>impl<T, F> Future for CallFuture<T, F>where
T: DeserializeOwned,
F: Future<Output = Result<Vec<u8>>>, type Output = Result<T>;
pub fn inspect(&self) -> CallFuture<TxpoolInspectInfo, T::Out>ⓘNotable traits for CallFuture<T, F>impl<T, F> Future for CallFuture<T, F>where
T: DeserializeOwned,
F: Future<Output = Result<Vec<u8>>>, type Output = Result<T>;
T: DeserializeOwned,
F: Future<Output = Result<Vec<u8>>>, type Output = Result<T>;
returns txpool inspect info
sourcepub fn status(&self) -> CallFuture<TxpoolStatus, T::Out>ⓘNotable traits for CallFuture<T, F>impl<T, F> Future for CallFuture<T, F>where
T: DeserializeOwned,
F: Future<Output = Result<Vec<u8>>>, type Output = Result<T>;
pub fn status(&self) -> CallFuture<TxpoolStatus, T::Out>ⓘNotable traits for CallFuture<T, F>impl<T, F> Future for CallFuture<T, F>where
T: DeserializeOwned,
F: Future<Output = Result<Vec<u8>>>, type Output = Result<T>;
T: DeserializeOwned,
F: Future<Output = Result<Vec<u8>>>, type Output = Result<T>;
returns txpool status
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Txpool<T>where
T: RefUnwindSafe,
impl<T> Send for Txpool<T>where
T: Send,
impl<T> Sync for Txpool<T>where
T: Sync,
impl<T> Unpin for Txpool<T>where
T: Unpin,
impl<T> UnwindSafe for Txpool<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more