[−][src]Struct interledger_ccp::CcpRouteManagerBuilder
Methods
impl<I, O, S, A> CcpRouteManagerBuilder<I, O, S> where
I: IncomingService<A> + Clone + Send + Sync + 'static,
O: OutgoingService<A> + Clone + Send + Sync + 'static,
S: AddressStore + RouteManagerStore<Account = A> + Clone + Send + Sync + 'static,
A: CcpRoutingAccount + Send + Sync + 'static,
[src]
I: IncomingService<A> + Clone + Send + Sync + 'static,
O: OutgoingService<A> + Clone + Send + Sync + 'static,
S: AddressStore + RouteManagerStore<Account = A> + Clone + Send + Sync + 'static,
A: CcpRoutingAccount + Send + Sync + 'static,
pub fn new(
ilp_address: Address,
store: S,
outgoing: O,
next_incoming: I
) -> Self
[src]
ilp_address: Address,
store: S,
outgoing: O,
next_incoming: I
) -> Self
pub fn ilp_address(&mut self, ilp_address: Address) -> &mut Self
[src]
pub fn broadcast_interval(&mut self, ms: u64) -> &mut Self
[src]
Set the broadcast interval (in milliseconds)
pub fn to_service(&self) -> CcpRouteManager<I, O, S, A>
[src]
Auto Trait Implementations
impl<I, O, S> Send for CcpRouteManagerBuilder<I, O, S> where
I: Send,
O: Send,
S: Send,
I: Send,
O: Send,
S: Send,
impl<I, O, S> Sync for CcpRouteManagerBuilder<I, O, S> where
I: Sync,
O: Sync,
S: Sync,
I: Sync,
O: Sync,
S: Sync,
impl<I, O, S> Unpin for CcpRouteManagerBuilder<I, O, S> where
I: Unpin,
O: Unpin,
S: Unpin,
I: Unpin,
O: Unpin,
S: Unpin,
impl<I, O, S> UnwindSafe for CcpRouteManagerBuilder<I, O, S> where
I: UnwindSafe,
O: UnwindSafe,
S: UnwindSafe,
I: UnwindSafe,
O: UnwindSafe,
S: UnwindSafe,
impl<I, O, S> RefUnwindSafe for CcpRouteManagerBuilder<I, O, S> where
I: RefUnwindSafe,
O: RefUnwindSafe,
S: RefUnwindSafe,
I: RefUnwindSafe,
O: RefUnwindSafe,
S: RefUnwindSafe,
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,