Struct queen::socket::Switch[][src]

pub struct Switch {
    pub socket_id: MessageId,
    pub chans: HashMap<String, HashSet<usize>>,
    pub share_chans: HashMap<String, HashSet<usize>>,
    pub slot_ids: HashMap<MessageId, usize>,
    pub socket_ids: HashMap<MessageId, usize>,
    pub slots: Slab<Slot>,
    pub send_num: Cell<usize>,
    pub recv_num: Cell<usize>,
    // some fields omitted
}

Fields

socket_id: MessageIdchans: HashMap<String, HashSet<usize>>share_chans: HashMap<String, HashSet<usize>>slot_ids: HashMap<MessageId, usize>socket_ids: HashMap<MessageId, usize>slots: Slab<Slot>send_num: Cell<usize>recv_num: Cell<usize>

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

Performs the conversion.

Performs the conversion.

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.