pub struct ThriftSharedMemoryTransport {
pub memory_name: String,
pub buffer_type: ThriftSharedMemoryBufferType,
pub buffer_size: i64,
}Expand description
Configuration for a local Thrift shared-memory transport.
The buffer type and size are supplied to both HARS and the client session; HAPI requires the two sides to match.
Fields§
§memory_name: StringName of the platform shared-memory object used by HARS and HARC.
buffer_type: ThriftSharedMemoryBufferTypeFixed-length or ring-buffer transport mode.
buffer_size: i64Shared-memory buffer size in megabytes.
Trait Implementations§
Auto Trait Implementations§
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