pub struct CtlState {
pub started_at: Instant,
pub identity_hash: Option<[u8; 16]>,
pub identity: Option<Identity>,
pub announces: VecDeque<AnnounceRecord>,
pub packets: VecDeque<PacketRecord>,
pub proofs: VecDeque<ProofRecord>,
pub link_events: VecDeque<LinkEventRecord>,
pub resource_events: VecDeque<ResourceEventRecord>,
pub destinations: HashMap<[u8; 16], DestinationEntry>,
pub node_handle: Option<Arc<Mutex<Option<RnsNode>>>>,
}Fields§
§started_at: Instant§identity_hash: Option<[u8; 16]>§identity: Option<Identity>§announces: VecDeque<AnnounceRecord>§packets: VecDeque<PacketRecord>§proofs: VecDeque<ProofRecord>§link_events: VecDeque<LinkEventRecord>§resource_events: VecDeque<ResourceEventRecord>§destinations: HashMap<[u8; 16], DestinationEntry>§node_handle: Option<Arc<Mutex<Option<RnsNode>>>>Implementations§
Auto Trait Implementations§
impl Freeze for CtlState
impl RefUnwindSafe for CtlState
impl Send for CtlState
impl Sync for CtlState
impl Unpin for CtlState
impl UnsafeUnpin for CtlState
impl UnwindSafe for CtlState
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
Source§impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more