Struct Stdin
pub struct Stdin;
Implementations
impl Stdin
const fn new() -> Stdin
Trait Implementations
impl Read for Stdin
fn read(&mut self, buf: &mut [u8]) -> Result<usize>fn read_buf(&mut self, buf: BorrowedCursor<'_, u8>) -> Result<()>fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> Result<usize>fn is_read_vectored(&self) -> bool
Auto Trait Implementations
impl Freeze for Stdin
impl RefUnwindSafe for Stdin
impl Send for Stdin
impl Sync for Stdin
impl Unpin for Stdin
impl UnsafeUnpin for Stdin
impl UnwindSafe for Stdin
Blanket Implementations
impl<R> SpecReadByte for Stdin
where
R: Read,
fn spec_read_byte(&mut self) -> Option<Result<u8, Error>>
impl<T> Any for Stdin
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Stdin
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Stdin
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for Stdin
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for Stdin
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for Stdin
impl<T, U> Into<U> for Stdin
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 Stdin
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for Stdin
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>