Struct Complete
pub struct Complete;
Indicates that the input data is complete: no more data may be added later
Trait Implementations
impl IsStreaming for Complete
fn incomplete<E, F: FnOnce() -> E>(_needed: Needed, err_f: F) -> Err<E>fn is_streaming() -> bool
Auto Trait Implementations
impl Freeze for Complete
impl RefUnwindSafe for Complete
impl Send for Complete
impl Sync for Complete
impl Unpin for Complete
impl UnsafeUnpin for Complete
impl UnwindSafe for Complete
Blanket Implementations
impl<T> Any for Complete
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Complete
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Complete
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for Complete
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for Complete
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Complete
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Complete
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>