[][src]Struct interledger_ccp::CcpRouteManagerBuilder

pub struct CcpRouteManagerBuilder<I, O, S> { /* fields omitted */ }

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]

pub fn new(
    ilp_address: Address,
    store: S,
    outgoing: O,
    next_incoming: I
) -> Self
[src]

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

impl<I, O, S> Sync for CcpRouteManagerBuilder<I, O, S> where
    I: Sync,
    O: Sync,
    S: Sync

impl<I, O, S> Unpin for CcpRouteManagerBuilder<I, O, S> where
    I: Unpin,
    O: Unpin,
    S: Unpin

impl<I, O, S> UnwindSafe for CcpRouteManagerBuilder<I, O, S> where
    I: UnwindSafe,
    O: UnwindSafe,
    S: UnwindSafe

impl<I, O, S> RefUnwindSafe for CcpRouteManagerBuilder<I, O, S> where
    I: RefUnwindSafe,
    O: RefUnwindSafe,
    S: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T