pub struct Inbox { /* private fields */ }Implementations§
Source§impl Inbox
impl Inbox
pub fn open(path: &Path) -> Result<Self>
pub fn listener_lock(&self) -> Result<Option<File>>
pub fn append(&self, record: &str) -> Result<()>
pub fn read_batch(&self) -> Result<Batch>
pub fn commit(&self, batch: &Batch) -> Result<()>
pub async fn wait(&self, renew_after: Duration) -> Result<Wake>
Auto Trait Implementations§
impl Freeze for Inbox
impl RefUnwindSafe for Inbox
impl Send for Inbox
impl Sync for Inbox
impl Unpin for Inbox
impl UnsafeUnpin for Inbox
impl UnwindSafe for Inbox
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