pub enum Frame {
Cpu(MemoryBuffer),
Gpu(MemoryBuffer),
}Expand description
Payload exchanged by channels.
Frame is the high-level payload abstraction used by the public channel API. It distinguishes
buffer backend kind (CPU or GPU) while keeping transport representation details internal to
the channel runtime. Whether delivery used external sharing or local materialization is exposed
through receiver introspection such as ReceiveRepresentation.
Variants§
Implementations§
Trait Implementations§
Source§impl From<MemoryBuffer> for Frame
impl From<MemoryBuffer> for Frame
Source§fn from(buffer: MemoryBuffer) -> Self
fn from(buffer: MemoryBuffer) -> Self
Converts to this type from the input type.
Source§impl From<MemoryBuffer> for Frame
impl From<MemoryBuffer> for Frame
Source§fn from(buffer: MemoryBuffer) -> Self
fn from(buffer: MemoryBuffer) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl !Send for Frame
impl !Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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