Trait ctf_pwn::io::AsyncCacheReadExt
source · pub trait AsyncCacheReadExt: AsyncCacheRead {
// Provided methods
fn read_until<'a, T: AsRef<[u8]>>(
&'a mut self,
delim: T,
buf: &'a mut Vec<u8>
) -> ReadUntil<'a, Self, T> ⓘ
where Self: Unpin { ... }
fn read_line<'a>(
&'a mut self,
buf: &'a mut Vec<u8>
) -> ReadUntil<'a, Self, &'static [u8]> ⓘ
where Self: Unpin { ... }
fn read_line_crlf<'a>(
&'a mut self,
buf: &'a mut Vec<u8>
) -> ReadUntil<'a, Self, &'static [u8]> ⓘ
where Self: Unpin { ... }
async fn read_until_regex<'a>(
&'a mut self,
pattern: &str,
buf: &'a mut Vec<u8>
) -> Result<ReadUntilRegex<'a, Self>, Error>
where Self: Unpin { ... }
}
Provided Methods§
fn read_until<'a, T: AsRef<[u8]>>(
&'a mut self,
delim: T,
buf: &'a mut Vec<u8>
) -> ReadUntil<'a, Self, T> ⓘwhere
Self: Unpin,
fn read_line<'a>(
&'a mut self,
buf: &'a mut Vec<u8>
) -> ReadUntil<'a, Self, &'static [u8]> ⓘwhere
Self: Unpin,
fn read_line_crlf<'a>(
&'a mut self,
buf: &'a mut Vec<u8>
) -> ReadUntil<'a, Self, &'static [u8]> ⓘwhere
Self: Unpin,
async fn read_until_regex<'a>(
&'a mut self,
pattern: &str,
buf: &'a mut Vec<u8>
) -> Result<ReadUntilRegex<'a, Self>, Error>where
Self: Unpin,
Object Safety§
This trait is not object safe.