pub struct WireSnapshot { /* private fields */ }Expand description
Reusable owned backing for independent direct decoders. Capability nodes share their take-once cells; ordinary nodes are copied into each reader.
Implementations§
Source§impl WireSnapshot
impl WireSnapshot
pub fn new(nodes: Vec<SchemaValueNode>) -> WireSnapshot
pub fn reader(self: &Rc<WireSnapshot>) -> WireReader
Auto Trait Implementations§
impl Freeze for WireSnapshot
impl RefUnwindSafe for WireSnapshot
impl Send for WireSnapshot
impl Sync for WireSnapshot
impl Unpin for WireSnapshot
impl UnsafeUnpin for WireSnapshot
impl UnwindSafe for WireSnapshot
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