pub enum LDNError {
New(String),
Load(String),
}
Variants§
Trait Implementations§
source§impl MessageBody for LDNError
impl MessageBody for LDNError
§type Error = Infallible
type Error = Infallible
The type of error that will be returned if streaming body fails. Read more
source§fn poll_next(
self: Pin<&mut Self>,
_cx: &mut Context<'_>
) -> Poll<Option<Result<Bytes, Self::Error>>>
fn poll_next( self: Pin<&mut Self>, _cx: &mut Context<'_> ) -> Poll<Option<Result<Bytes, Self::Error>>>
Attempt to pull out the next chunk of body bytes. Read more
§fn try_into_bytes(self) -> Result<Bytes, Self>where
Self: Sized,
fn try_into_bytes(self) -> Result<Bytes, Self>where Self: Sized,
Try to convert into the complete chunk of body bytes. Read more
Auto Trait Implementations§
impl RefUnwindSafe for LDNError
impl Send for LDNError
impl Sync for LDNError
impl Unpin for LDNError
impl UnwindSafe for LDNError
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