pub struct InputDelivery<Pipe> { /* private fields */ }Expand description
Independent full-write accounting for one actual solver input pipe. Its closure check binds delivered bytes to the parser session terminal key.
Implementations§
Source§impl<Pipe: InputPipe> InputDelivery<Pipe>
impl<Pipe: InputPipe> InputDelivery<Pipe>
Sourcepub fn write(&mut self, bytes: &[u8]) -> bool
pub fn write(&mut self, bytes: &[u8]) -> bool
Calls the owned pipe’s full write and flush before acknowledging bytes.
Sourcepub fn matches(&self, expected: QueryKey, complete: bool) -> bool
pub fn matches(&self, expected: QueryKey, complete: bool) -> bool
Checks acknowledged input against this session’s parser terminal key.
Auto Trait Implementations§
impl<Pipe> Forget for InputDelivery<Pipe>
impl<Pipe> Freeze for InputDelivery<Pipe>where
Pipe: Freeze,
PhantomData<(UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256)>: Freeze,
GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplOdd<u8, [u8; 0]>>>>>>>: Freeze,
PhantomData<Eager>: Freeze,
impl<Pipe> Move for InputDelivery<Pipe>
impl<Pipe> RefUnwindSafe for InputDelivery<Pipe>where
Pipe: RefUnwindSafe,
GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplOdd<u8, [u8; 0]>>>>>>>: RefUnwindSafe,
Eager: RefUnwindSafe,
impl<Pipe> Send for InputDelivery<Pipe>
impl<Pipe> Sync for InputDelivery<Pipe>
impl<Pipe> Unpin for InputDelivery<Pipe>
impl<Pipe> UnsafeUnpin for InputDelivery<Pipe>where
Pipe: UnsafeUnpin,
PhantomData<(UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256)>: UnsafeUnpin,
GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplOdd<u8, [u8; 0]>>>>>>>: UnsafeUnpin,
PhantomData<Eager>: UnsafeUnpin,
impl<Pipe> UnwindSafe for InputDelivery<Pipe>where
Pipe: UnwindSafe,
GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplEven<u8, GenericArrayImplOdd<u8, [u8; 0]>>>>>>>: UnwindSafe,
Eager: UnwindSafe,
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