pub struct RtIpc { /* private fields */ }Implementations§
Source§impl RtIpc
impl RtIpc
pub fn new_anon_shm( param_consumers: &[ChannelParam], param_producers: &[ChannelParam], cookie: u32, ) -> Result<RtIpc, CreateError>
pub fn new_named_shm( param_consumers: &[ChannelParam], param_producers: &[ChannelParam], cookie: u32, path: &Path, mode: Mode, ) -> Result<RtIpc, CreateError>
pub fn from_fd(fd: OwnedFd, cookie: u32) -> Result<RtIpc, CreateError>
pub fn take_consumer<T>( &mut self, index: usize, ) -> Result<Consumer<T>, ChannelError>
pub fn take_producer<T>( &mut self, index: usize, ) -> Result<Producer<T>, ChannelError>
pub fn get_fd(&self) -> &OwnedFd
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RtIpc
impl RefUnwindSafe for RtIpc
impl !Send for RtIpc
impl !Sync for RtIpc
impl Unpin for RtIpc
impl UnwindSafe for RtIpc
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