pub enum LoanError {
TooLarge,
WouldBlock,
Backend(TransportError),
}Expand description
Error type for EmbeddedRawPublisher::try_loan.
Variants§
TooLarge
Requested length exceeds the publisher’s arena slot capacity.
WouldBlock
Arena slot already in use; another publish is in flight on this publisher. Retry after the other loan commits or discards.
Backend(TransportError)
Backend rejected the publish at commit time.
Trait Implementations§
Source§impl From<TransportError> for LoanError
impl From<TransportError> for LoanError
Source§fn from(e: TransportError) -> LoanError
fn from(e: TransportError) -> LoanError
Converts to this type from the input type.
impl Eq for LoanError
impl StructuralPartialEq for LoanError
Auto Trait Implementations§
impl Freeze for LoanError
impl RefUnwindSafe for LoanError
impl Send for LoanError
impl Sync for LoanError
impl Unpin for LoanError
impl UnsafeUnpin for LoanError
impl UnwindSafe for LoanError
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