pub struct ContentPeer {
pub node: Symbol,
pub serve: EvalFabricRef,
}Expand description
A peer that may hold content in its local cassette.
Fields§
§node: SymbolStable node id for diagnostics and later holder-index announcements.
serve: EvalFabricRefServe-only fabric for the peer’s held content.
Implementations§
Source§impl ContentPeer
impl ContentPeer
Sourcepub fn new(node: Symbol, serve: EvalFabricRef) -> Self
pub fn new(node: Symbol, serve: EvalFabricRef) -> Self
Builds a peer handle from node and its serve fabric.
Auto Trait Implementations§
impl !RefUnwindSafe for ContentPeer
impl !UnwindSafe for ContentPeer
impl Freeze for ContentPeer
impl Send for ContentPeer
impl Sync for ContentPeer
impl Unpin for ContentPeer
impl UnsafeUnpin for ContentPeer
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