[−][src]Struct interledger_api::NodeApi
Methods
impl<S, I, O, B, A> NodeApi<S, I, O, B, A> where
S: NodeStore<Account = A> + HttpStore<Account = A> + BalanceStore<Account = A> + SettlementStore<Account = A> + StreamNotificationsStore<Account = A> + RouterStore + ExchangeRateStore,
I: IncomingService<A> + Clone + Send + Sync + 'static,
O: OutgoingService<A> + Clone + Send + Sync + 'static,
B: OutgoingService<A> + Clone + Send + Sync + 'static,
A: BtpAccount + CcpRoutingAccount + Account + HttpAccount + SettlementAccount + Serialize + Send + Sync + 'static,
[src]
S: NodeStore<Account = A> + HttpStore<Account = A> + BalanceStore<Account = A> + SettlementStore<Account = A> + StreamNotificationsStore<Account = A> + RouterStore + ExchangeRateStore,
I: IncomingService<A> + Clone + Send + Sync + 'static,
O: OutgoingService<A> + Clone + Send + Sync + 'static,
B: OutgoingService<A> + Clone + Send + Sync + 'static,
A: BtpAccount + CcpRoutingAccount + Account + HttpAccount + SettlementAccount + Serialize + Send + Sync + 'static,
pub fn new(
server_secret: Bytes,
admin_api_token: String,
store: S,
incoming_handler: I,
outgoing_handler: O,
btp: BtpOutgoingService<B, A>
) -> Self
[src]
server_secret: Bytes,
admin_api_token: String,
store: S,
incoming_handler: I,
outgoing_handler: O,
btp: BtpOutgoingService<B, A>
) -> Self
pub fn default_spsp_account(&mut self, username: Username) -> &mut Self
[src]
pub fn into_warp_filter(self) -> BoxedFilter<(impl Reply,)>
[src]
pub fn bind(self, addr: SocketAddr) -> impl Future<Item = (), Error = ()>
[src]
Auto Trait Implementations
impl<S, I, O, B, A> Send for NodeApi<S, I, O, B, A> where
B: Send,
I: Send,
O: Send,
S: Send,
<A as Account>::AccountId: Send + Sync,
B: Send,
I: Send,
O: Send,
S: Send,
<A as Account>::AccountId: Send + Sync,
impl<S, I, O, B, A> Sync for NodeApi<S, I, O, B, A> where
B: Sync,
I: Sync,
O: Sync,
S: Sync,
<A as Account>::AccountId: Send + Sync,
B: Sync,
I: Sync,
O: Sync,
S: Sync,
<A as Account>::AccountId: Send + Sync,
impl<S, I, O, B, A> Unpin for NodeApi<S, I, O, B, A> where
B: Unpin,
I: Unpin,
O: Unpin,
S: Unpin,
B: Unpin,
I: Unpin,
O: Unpin,
S: Unpin,
impl<S, I, O, B, A> !UnwindSafe for NodeApi<S, I, O, B, A>
impl<S, I, O, B, A> !RefUnwindSafe for NodeApi<S, I, O, B, A>
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, 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,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,