[−][src]Struct grin_wallet::controller::OwnerAPIHandler
API Handler/Wrapper for owner functions
Fields
wallet: Arc<Mutex<T>>
Wallet instance
Methods
impl<T: ?Sized, C, K> OwnerAPIHandler<T, C, K> where
T: WalletBackend<C, K> + Send + Sync + 'static,
C: NodeClient + 'static,
K: Keychain + 'static,
[src]
impl<T: ?Sized, C, K> OwnerAPIHandler<T, C, K> where
T: WalletBackend<C, K> + Send + Sync + 'static,
C: NodeClient + 'static,
K: Keychain + 'static,
pub fn new(wallet: Arc<Mutex<T>>) -> OwnerAPIHandler<T, C, K> | [src] |
Create a new owner API handler for GET methods
pub fn retrieve_outputs( | [src] |
pub fn retrieve_txs( | [src] |
pub fn retrieve_stored_tx( | [src] |
pub fn retrieve_summary_info( | [src] |
pub fn node_height( | [src] |
pub fn issue_send_tx( | [src] |
pub fn finalize_tx( | [src] |
pub fn cancel_tx( | [src] |
pub fn post_tx( | [src] |
Trait Implementations
impl<T: ?Sized, C, K> Handler for OwnerAPIHandler<T, C, K> where
T: WalletBackend<C, K> + Send + Sync + 'static,
C: NodeClient + 'static,
K: Keychain + 'static,
[src]
impl<T: ?Sized, C, K> Handler for OwnerAPIHandler<T, C, K> where
T: WalletBackend<C, K> + Send + Sync + 'static,
C: NodeClient + 'static,
K: Keychain + 'static,
fn get(&self, req: Request<Body>) -> ResponseFuture | [src] |
fn post(&self, req: Request<Body>) -> ResponseFuture | [src] |
fn options(&self, _req: Request<Body>) -> ResponseFuture | [src] |
fn put( | [src] |
fn patch( | [src] |
fn delete( | [src] |
fn head( | [src] |
fn trace( | [src] |
fn connect( | [src] |
fn call( | [src] |
Auto Trait Implementations
impl<T: ?Sized, C, K> Send for OwnerAPIHandler<T, C, K>
impl<T: ?Sized, C, K> Send for OwnerAPIHandler<T, C, K>
impl<T: ?Sized, C, K> Sync for OwnerAPIHandler<T, C, K>
impl<T: ?Sized, C, K> Sync for OwnerAPIHandler<T, C, K>
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> Erased for T
impl<T> Erased for T
impl<T> UnsafeAny for T where
T: Any,
impl<T> UnsafeAny for T where
T: Any,
impl<T> SafeBorrow for T where
T: ?Sized,
impl<T> SafeBorrow for T where
T: ?Sized,
fn borrow_replacement(ptr: &T) -> &T |
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self