pub enum StreamBegin {
Ready(Box<dyn FanoutStream>),
Failed(Box<dyn FanoutStream>),
}Expand description
The result of CommitFanout::tx_begin. Either way a stream handle is returned so
whatever the observer pinned at the begin-barrier is always released.
Variants§
Ready(Box<dyn FanoutStream>)
Failed(Box<dyn FanoutStream>)
Auto Trait Implementations§
impl Freeze for StreamBegin
impl !RefUnwindSafe for StreamBegin
impl !Send for StreamBegin
impl !Sync for StreamBegin
impl Unpin for StreamBegin
impl UnsafeUnpin for StreamBegin
impl !UnwindSafe for StreamBegin
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