pub struct RlmProjectedBindings { /* private fields */ }Implementations§
Source§impl RlmProjectedBindings
impl RlmProjectedBindings
pub fn new() -> Self
pub fn bind_value( self, name: impl Into<String>, value: impl Into<FlowValue>, ) -> Result<Self, ProjectedBindingError>
pub fn bind_json( self, name: impl Into<String>, value: Value, ) -> Result<Self, ProjectedBindingError>
pub fn bind_lazy( self, name: impl Into<String>, reference: ProjectionRef, ) -> Result<Self, ProjectedBindingError>
pub fn names(&self) -> impl Iterator<Item = String> + '_
pub fn merge(self, other: Self) -> Result<Self, ProjectedBindingError>
Sourcepub fn from_snapshot(
snapshot: &RlmProjectedSeedSnapshot,
) -> Result<Self, RlmProjectedSeedError>
pub fn from_snapshot( snapshot: &RlmProjectedSeedSnapshot, ) -> Result<Self, RlmProjectedSeedError>
Hydrate from a wire-format RlmProjectedSeedSnapshot. Each entry is
re-projected via bind_json. Used by the RLM protocol to seed projections on a
child session (spawn_agent / continue_as) from the parent’s classified
seed map.
Trait Implementations§
Source§impl Clone for RlmProjectedBindings
impl Clone for RlmProjectedBindings
Source§fn clone(&self) -> RlmProjectedBindings
fn clone(&self) -> RlmProjectedBindings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for RlmProjectedBindings
impl Default for RlmProjectedBindings
Source§fn default() -> RlmProjectedBindings
fn default() -> RlmProjectedBindings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for RlmProjectedBindings
impl !UnwindSafe for RlmProjectedBindings
impl Freeze for RlmProjectedBindings
impl Send for RlmProjectedBindings
impl Sync for RlmProjectedBindings
impl Unpin for RlmProjectedBindings
impl UnsafeUnpin for RlmProjectedBindings
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