pub struct Outputs { /* private fields */ }
Expand description
Outputs let you manage output connections during a node implementation
Implementations§
Source§impl Outputs
impl Outputs
Sourcepub fn new(
senders: Arc<Mutex<HashMap<Uuid, Vec<MessageSender>>>>,
clock: Arc<HLC>,
source: NodeLayout,
) -> Self
pub fn new( senders: Arc<Mutex<HashMap<Uuid, Vec<MessageSender>>>>, clock: Arc<HLC>, source: NodeLayout, ) -> Self
Creates a new instance of Outputs
Auto Trait Implementations§
impl Freeze for Outputs
impl !RefUnwindSafe for Outputs
impl Send for Outputs
impl Sync for Outputs
impl Unpin for Outputs
impl !UnwindSafe for Outputs
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