[−][src]Struct lightning::ln::router::RouterReadArgs
Arguments for the creation of a Router that are not deserialized. At a high-level, the process for deserializing a Router and resuming normal operation is:
- Deserialize the Router by filling in this struct and calling
::read(reaser, args). - Register the new Router with your ChainWatchInterface
Fields
chain_monitor: Arc<dyn ChainWatchInterface>
The ChainWatchInterface for use in the Router in the future.
No calls to the ChainWatchInterface will be made during deserialization.
logger: Arc<dyn Logger>
The Logger for use in the ChannelManager and which may be used to log information during deserialization.
Trait Implementations
impl<R: Read> ReadableArgs<R, RouterReadArgs> for Router
[src]
fn read(reader: &mut R, args: RouterReadArgs) -> Result<Router, DecodeError>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for RouterReadArgs
impl Send for RouterReadArgs
impl Sync for RouterReadArgs
impl Unpin for RouterReadArgs
impl !UnwindSafe for RouterReadArgs
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
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>,