pub struct LocalPeer { /* private fields */ }Expand description
A clonable local participant that supplies its own prepared operand.
In an interlace, a bare LaceHandle position receives the operation’s
policy and a LocalPeer position receives this operand. At most one
position may be a LocalPeer, and it cannot join a ConnectedPeer.
Implementations§
Source§impl LocalPeer
impl LocalPeer
Sourcepub fn new(handle: LaceHandle, policy: impl IntoPolicy) -> Result<Self>
pub fn new(handle: LaceHandle, policy: impl IntoPolicy) -> Result<Self>
Prepare policy as this participant’s operand without performing IO.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LocalPeer
impl !UnwindSafe for LocalPeer
impl Freeze for LocalPeer
impl Send for LocalPeer
impl Sync for LocalPeer
impl Unpin for LocalPeer
impl UnsafeUnpin for LocalPeer
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