pub struct Ipc;Expand description
Writes frames down so they can be kept or sent, and reads them back.
The second implementor of Codec, and from another crate — the first was
python/’s registry of dump/load pairs — which is what keeps the hole a
hole. A unit struct because the format is the format and there is nothing to
configure; whoever runs the engine hands it in, and a store and a wire get
the same bytes because what a frame weighs has one answer.
It refuses an opaque that is not a frame rather than guessing. A graph
carrying tensors and rows wants both codecs, which is what python/’s
does: a frame comes here, anything else goes to its registry.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ipc
impl RefUnwindSafe for Ipc
impl Send for Ipc
impl Sync for Ipc
impl Unpin for Ipc
impl UnsafeUnpin for Ipc
impl UnwindSafe for Ipc
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