pub struct Config {
pub target: Target,
pub identity: Arc<NodeKey>,
pub issuer: StatementIssuer,
pub member_endorsement: Vec<u8>,
pub publication_seq: Option<Arc<PublicationSeq>>,
pub admission: Option<Arc<Admission>>,
pub dedup: Option<Arc<EventDedup>>,
pub share: Option<String>,
}Expand description
What a link is dialed with: the station to reach, the node’s identity key, the statement issuer that holds its CONNECT key and statements, and the realm membership endorsement to present, empty for none. Links of one node share their publication seq, admission and dedup; a link given none makes its own.
Fields§
§target: Target§identity: Arc<NodeKey>§issuer: StatementIssuer§member_endorsement: Vec<u8>§publication_seq: Option<Arc<PublicationSeq>>§admission: Option<Arc<Admission>>§dedup: Option<Arc<EventDedup>>This link’s place in the admission: the station it dialed, host:port,
when None.
Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more