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 ndc: Option<Box<dyn NamedDataCache>>,
    pub tracker: Option<Box<dyn TrackerCache>>,
    pub chunk_store: Option<Box<dyn ChunkReader>>,
    pub ndn_acl: Option<Box<dyn BdtDataAclProcessor>>,
}

Fields

config: StackConfigtcp_port_mapping: Option<Vec<(Endpoint, u16)>>known_sn: Option<Vec<Device>>known_device: Option<Vec<Device>>active_pn: Option<Vec<Device>>passive_pn: Option<Vec<Device>>outer_cache: Option<Box<dyn OuterDeviceCache>>ndc: Option<Box<dyn NamedDataCache>>tracker: Option<Box<dyn TrackerCache>>chunk_store: Option<Box<dyn ChunkReader>>ndn_acl: Option<Box<dyn BdtDataAclProcessor>>

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

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

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

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.