pub struct TransportCapabilities {
pub max_message_size: usize,
pub blocking: bool,
pub zero_copy: bool,
pub estimated_cost_cycles: u32,
}Expand description
Describes the capabilities of an IPC transport.
Fields§
§max_message_size: usizeMaximum message size in bytes.
blocking: boolWhether the transport supports blocking send/recv.
zero_copy: boolWhether the transport supports zero-copy (DMA into buffers).
estimated_cost_cycles: u32Approximate round-trip cost in CPU cycles (for scheduler hints).
Trait Implementations§
Source§impl Clone for TransportCapabilities
impl Clone for TransportCapabilities
Source§fn clone(&self) -> TransportCapabilities
fn clone(&self) -> TransportCapabilities
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 moreimpl Copy for TransportCapabilities
Auto Trait Implementations§
impl Freeze for TransportCapabilities
impl RefUnwindSafe for TransportCapabilities
impl Send for TransportCapabilities
impl Sync for TransportCapabilities
impl Unpin for TransportCapabilities
impl UnsafeUnpin for TransportCapabilities
impl UnwindSafe for TransportCapabilities
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more