pub(crate) struct Child {
pub(crate) path: Path,
pub(crate) graph: Arc<Mutex<NodeGraph>>,
pub(crate) controller: ClientEnd<NodeControllerMarker>,
pub(crate) device: DeviceProxy,
}
Fields§
§path: Path
List of nodes following directed path from start of path to end of path.
graph: Arc<Mutex<NodeGraph>>
Directed graph which stores all nodes and bandwidth requests for each of their incoming edges.
controller: ClientEnd<NodeControllerMarker>
§device: DeviceProxy
Implementations§
Source§impl Child
impl Child
pub(crate) async fn set_bandwidth( &self, average_bandwidth_bps: Option<u64>, peak_bandwidth_bps: Option<u64>, ) -> Result<(), Status>
pub(crate) async fn run_path_server(&self, service: PathRequestStream)
Auto Trait Implementations§
impl Freeze for Child
impl !RefUnwindSafe for Child
impl Send for Child
impl Sync for Child
impl Unpin for Child
impl !UnwindSafe for Child
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