Struct abi::bbqueue_ipc::framed::FrameProducer
source · pub struct FrameProducer<'a> {
pub(crate) producer: Producer<'a>,
}
Expand description
A producer of Framed data
Fields§
§producer: Producer<'a>
Implementations§
source§impl<'a> FrameProducer<'a>
impl<'a> FrameProducer<'a>
sourcepub fn grant(&self, max_sz: usize) -> Result<FrameGrantW<'a>>
pub fn grant(&self, max_sz: usize) -> Result<FrameGrantW<'a>>
Receive a grant for a frame with a maximum size of max_sz
in bytes.
This size does not include the size of the frame header. The exact size
of the frame can be set on commit
.
Auto Trait Implementations§
impl<'a> Freeze for FrameProducer<'a>
impl<'a> RefUnwindSafe for FrameProducer<'a>
impl<'a> Send for FrameProducer<'a>
impl<'a> Sync for FrameProducer<'a>
impl<'a> Unpin for FrameProducer<'a>
impl<'a> UnwindSafe for FrameProducer<'a>
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