struct InterconnectNode {
name: String,
id: NodeId,
incoming_edges: BTreeMap<NodeId, IncomingEdge>,
path_bandwidth_requests: BTreeMap<PathId, BandwidthRequest>,
initial_avg_bandwidth_bps: u64,
initial_peak_bandwidth_bps: u64,
}
Fields§
§name: String
§id: NodeId
§incoming_edges: BTreeMap<NodeId, IncomingEdge>
List of nodes can send to this node.
path_bandwidth_requests: BTreeMap<PathId, BandwidthRequest>
List of paths with bandwidth requests.
initial_avg_bandwidth_bps: u64
§initial_peak_bandwidth_bps: u64
Trait Implementations§
Source§impl Debug for InterconnectNode
impl Debug for InterconnectNode
Source§impl PartialEq for InterconnectNode
impl PartialEq for InterconnectNode
impl Eq for InterconnectNode
impl StructuralPartialEq for InterconnectNode
Auto Trait Implementations§
impl Freeze for InterconnectNode
impl RefUnwindSafe for InterconnectNode
impl Send for InterconnectNode
impl Sync for InterconnectNode
impl Unpin for InterconnectNode
impl UnwindSafe for InterconnectNode
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> IntoAny for T
impl<T> IntoAny for T
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