pub struct DistributedGraphLayer {
pub base_layer: Box<dyn GraphLayer>,
pub coordinator: DistributedGNN,
}Expand description
Distributed graph layer wrapper
Fields§
§base_layer: Box<dyn GraphLayer>Base layer
coordinator: DistributedGNNDistributed coordinator
Implementations§
Source§impl DistributedGraphLayer
impl DistributedGraphLayer
pub fn new( base_layer: Box<dyn GraphLayer>, config: DistributedConfig, full_graph: &GraphData, ) -> Result<Self, DistributedError>
Trait Implementations§
Source§impl Debug for DistributedGraphLayer
impl Debug for DistributedGraphLayer
Source§impl GraphLayer for DistributedGraphLayer
impl GraphLayer for DistributedGraphLayer
Auto Trait Implementations§
impl !Freeze for DistributedGraphLayer
impl !RefUnwindSafe for DistributedGraphLayer
impl !Send for DistributedGraphLayer
impl !Sync for DistributedGraphLayer
impl Unpin for DistributedGraphLayer
impl UnsafeUnpin for DistributedGraphLayer
impl !UnwindSafe for DistributedGraphLayer
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> 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