pub struct EndOfInput;Expand description
Error indicating that the end of input has been reached.
Trait Implementations§
Source§impl Clone for EndOfInput
impl Clone for EndOfInput
Source§fn clone(&self) -> EndOfInput
fn clone(&self) -> EndOfInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EndOfInput
impl Debug for EndOfInput
Source§impl Default for EndOfInput
impl Default for EndOfInput
Source§fn default() -> EndOfInput
fn default() -> EndOfInput
Returns the “default value” for a type. Read more
Source§impl Display for EndOfInput
impl Display for EndOfInput
Source§impl Error for EndOfInput
impl Error for EndOfInput
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<EndOfInput> for Error
impl From<EndOfInput> for Error
Source§fn from(e: EndOfInput) -> Self
fn from(e: EndOfInput) -> Self
Converts to this type from the input type.
Source§impl<E> From<EndOfInput> for Error<E>
impl<E> From<EndOfInput> for Error<E>
Source§fn from(e: EndOfInput) -> Self
fn from(e: EndOfInput) -> Self
Converts to this type from the input type.
Source§impl<E> From<EndOfInput> for Error<E>
impl<E> From<EndOfInput> for Error<E>
Source§fn from(e: EndOfInput) -> Self
fn from(e: EndOfInput) -> Self
Converts to this type from the input type.
Source§impl From<EndOfInput> for Error
impl From<EndOfInput> for Error
Source§fn from(e: EndOfInput) -> Self
fn from(e: EndOfInput) -> Self
Converts to this type from the input type.
Source§impl From<EndOfInput> for Error
impl From<EndOfInput> for Error
Source§fn from(e: EndOfInput) -> Self
fn from(e: EndOfInput) -> Self
Converts to this type from the input type.
Source§impl Hash for EndOfInput
impl Hash for EndOfInput
Source§impl PartialEq for EndOfInput
impl PartialEq for EndOfInput
impl Copy for EndOfInput
impl Eq for EndOfInput
impl StructuralPartialEq for EndOfInput
Auto Trait Implementations§
impl Freeze for EndOfInput
impl RefUnwindSafe for EndOfInput
impl Send for EndOfInput
impl Sync for EndOfInput
impl Unpin for EndOfInput
impl UnwindSafe for EndOfInput
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