pub struct StackOpenParams {
pub config: StackConfig,
pub tcp_port_mapping: Option<Vec<(Endpoint, u16)>>,
pub known_sn: Option<Vec<Device>>,
pub known_device: Option<Vec<Device>>,
pub active_pn: Option<Vec<Device>>,
pub passive_pn: Option<Vec<Device>>,
pub outer_cache: Option<Box<dyn OuterDeviceCache>>,
pub chunk_store: Option<Box<dyn ChunkReader>>,
pub ndn_event: Option<Box<dyn NdnEventHandler>>,
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer.
Read more
Mutably dereferences the given pointer.
Read more
Drops the object pointed to by the given pointer.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.