(function() { var type_impls = Object.fromEntries([["auth",[["
§

impl Adler32Hash for &[u8]

§

fn hash(&self) -> u32

Feeds this value into Adler32.
","Adler32Hash","auth::common::HashedPassword","auth::common::Salt"],["
§

impl Arg for &[u8]

§

fn as_str(&self) -> Result<&str, Errno>

Returns a view of this string as a string slice.
§

fn to_string_lossy(&self) -> Cow<'_, str>

Returns a potentially-lossy rendering of this string as a\nCow<'_, str>.
§

fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

Returns a view of this string as a maybe-owned CStr.
§

fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
where\n &[u8]: 'b,

Consumes self and returns a view of this string as a maybe-owned\nCStr.
§

fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
where\n &[u8]: Sized,\n F: FnOnce(&CStr) -> Result<T, Errno>,

Runs a closure with self passed in as a &CStr.
","Arg","auth::common::HashedPassword","auth::common::Salt"],["
§

impl Arg for &[u8]

§

fn as_str(&self) -> Result<&str, Errno>

Returns a view of this string as a string slice.
§

fn to_string_lossy(&self) -> Cow<'_, str>

Returns a potentially-lossy rendering of this string as a\nCow<'_, str>.
§

fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

Returns a view of this string as a maybe-owned CStr.
§

fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
where\n &[u8]: 'b,

Consumes self and returns a view of this string as a maybe-owned\nCStr.
§

fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
where\n &[u8]: Sized,\n F: FnOnce(&CStr) -> Result<T, Errno>,

Runs a closure with self passed in as a &CStr.
","Arg","auth::common::HashedPassword","auth::common::Salt"],["
§

impl AsBStr for &[u8]

§

fn as_bstr(&self) -> &[u8]

Casts the input type to a byte slice
","AsBStr","auth::common::HashedPassword","auth::common::Salt"],["
§

impl AsBytes for &[u8]

§

fn as_bytes(&self) -> &[u8]

Casts the input type to a byte slice
","AsBytes","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> AsBytes for &'a [u8]

§

fn as_bytes(&self) -> &[u8]

Casts the input type to a byte slice
","AsBytes","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> AsBytes for &'a [u8]

§

fn as_bytes(&self) -> &[u8]

Casts the input type to a byte slice
","AsBytes","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<T> AsRef<ZeroSlice<T>> for &[<T as AsULE>::ULE]
where\n T: AsULE,

§

fn as_ref(&self) -> &ZeroSlice<T>

Converts this type into a shared reference of the (usually inferred) input type.
","AsRef>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl AsyncBufRead for &[u8]

§

fn poll_fill_buf(\n self: Pin<&mut &[u8]>,\n _: &mut Context<'_>,\n) -> Poll<Result<&[u8], Error>>

Attempt to return the contents of the internal buffer, filling it with more data\nfrom the inner reader if it is empty. Read more
§

fn consume(self: Pin<&mut &[u8]>, amt: usize)

Tells this buffer that amt bytes have been consumed from the buffer,\nso they should no longer be returned in calls to poll_read. Read more
","AsyncBufRead","auth::common::HashedPassword","auth::common::Salt"],["
§

impl AsyncBufRead for &[u8]

§

fn poll_fill_buf(\n self: Pin<&mut &[u8]>,\n _cx: &mut Context<'_>,\n) -> Poll<Result<&[u8], Error>>

Attempts to return the contents of the internal buffer, filling it with more data\nfrom the inner reader if it is empty. Read more
§

fn consume(self: Pin<&mut &[u8]>, amt: usize)

Tells this buffer that amt bytes have been consumed from the buffer,\nso they should no longer be returned in calls to poll_read. Read more
","AsyncBufRead","auth::common::HashedPassword","auth::common::Salt"],["
§

impl AsyncRead for &[u8]

§

fn poll_read(\n self: Pin<&mut &[u8]>,\n _: &mut Context<'_>,\n buf: &mut [u8],\n) -> Poll<Result<usize, Error>>

Attempt to read from the AsyncRead into buf. Read more
§

fn poll_read_vectored(\n self: Pin<&mut &[u8]>,\n _: &mut Context<'_>,\n bufs: &mut [IoSliceMut<'_>],\n) -> Poll<Result<usize, Error>>

Attempt to read from the AsyncRead into bufs using vectored\nIO operations. Read more
","AsyncRead","auth::common::HashedPassword","auth::common::Salt"],["
§

impl AsyncRead for &[u8]

§

fn poll_read(\n self: Pin<&mut &[u8]>,\n _cx: &mut Context<'_>,\n buf: &mut ReadBuf<'_>,\n) -> Poll<Result<(), Error>>

Attempts to read from the AsyncRead into buf. Read more
","AsyncRead","auth::common::HashedPassword","auth::common::Salt"],["
§

impl Buf for &[u8]

§

fn remaining(&self) -> usize

Returns the number of bytes between the current position and the end of\nthe buffer. Read more
§

fn chunk(&self) -> &[u8]

Returns a slice starting at the current position and of length between 0\nand Buf::remaining(). Note that this can return a shorter slice (this\nallows non-continuous internal representation). Read more
§

fn advance(&mut self, cnt: usize)

Advance the internal cursor of the Buf Read more
§

fn copy_to_slice(&mut self, dst: &mut [u8])

Copies bytes from self into dst. Read more
§

fn chunks_vectored<'a>(&'a self, dst: &mut [IoSlice<'a>]) -> usize

Fills dst with potentially multiple slices starting at self’s\ncurrent position. Read more
§

fn has_remaining(&self) -> bool

Returns true if there are any more bytes to consume Read more
§

fn get_u8(&mut self) -> u8

Gets an unsigned 8 bit integer from self. Read more
§

fn get_i8(&mut self) -> i8

Gets a signed 8 bit integer from self. Read more
§

fn get_u16(&mut self) -> u16

Gets an unsigned 16 bit integer from self in big-endian byte order. Read more
§

fn get_u16_le(&mut self) -> u16

Gets an unsigned 16 bit integer from self in little-endian byte order. Read more
§

fn get_u16_ne(&mut self) -> u16

Gets an unsigned 16 bit integer from self in native-endian byte order. Read more
§

fn get_i16(&mut self) -> i16

Gets a signed 16 bit integer from self in big-endian byte order. Read more
§

fn get_i16_le(&mut self) -> i16

Gets a signed 16 bit integer from self in little-endian byte order. Read more
§

fn get_i16_ne(&mut self) -> i16

Gets a signed 16 bit integer from self in native-endian byte order. Read more
§

fn get_u32(&mut self) -> u32

Gets an unsigned 32 bit integer from self in the big-endian byte order. Read more
§

fn get_u32_le(&mut self) -> u32

Gets an unsigned 32 bit integer from self in the little-endian byte order. Read more
§

fn get_u32_ne(&mut self) -> u32

Gets an unsigned 32 bit integer from self in native-endian byte order. Read more
§

fn get_i32(&mut self) -> i32

Gets a signed 32 bit integer from self in big-endian byte order. Read more
§

fn get_i32_le(&mut self) -> i32

Gets a signed 32 bit integer from self in little-endian byte order. Read more
§

fn get_i32_ne(&mut self) -> i32

Gets a signed 32 bit integer from self in native-endian byte order. Read more
§

fn get_u64(&mut self) -> u64

Gets an unsigned 64 bit integer from self in big-endian byte order. Read more
§

fn get_u64_le(&mut self) -> u64

Gets an unsigned 64 bit integer from self in little-endian byte order. Read more
§

fn get_u64_ne(&mut self) -> u64

Gets an unsigned 64 bit integer from self in native-endian byte order. Read more
§

fn get_i64(&mut self) -> i64

Gets a signed 64 bit integer from self in big-endian byte order. Read more
§

fn get_i64_le(&mut self) -> i64

Gets a signed 64 bit integer from self in little-endian byte order. Read more
§

fn get_i64_ne(&mut self) -> i64

Gets a signed 64 bit integer from self in native-endian byte order. Read more
§

fn get_u128(&mut self) -> u128

Gets an unsigned 128 bit integer from self in big-endian byte order. Read more
§

fn get_u128_le(&mut self) -> u128

Gets an unsigned 128 bit integer from self in little-endian byte order. Read more
§

fn get_u128_ne(&mut self) -> u128

Gets an unsigned 128 bit integer from self in native-endian byte order. Read more
§

fn get_i128(&mut self) -> i128

Gets a signed 128 bit integer from self in big-endian byte order. Read more
§

fn get_i128_le(&mut self) -> i128

Gets a signed 128 bit integer from self in little-endian byte order. Read more
§

fn get_i128_ne(&mut self) -> i128

Gets a signed 128 bit integer from self in native-endian byte order. Read more
§

fn get_uint(&mut self, nbytes: usize) -> u64

Gets an unsigned n-byte integer from self in big-endian byte order. Read more
§

fn get_uint_le(&mut self, nbytes: usize) -> u64

Gets an unsigned n-byte integer from self in little-endian byte order. Read more
§

fn get_uint_ne(&mut self, nbytes: usize) -> u64

Gets an unsigned n-byte integer from self in native-endian byte order. Read more
§

fn get_int(&mut self, nbytes: usize) -> i64

Gets a signed n-byte integer from self in big-endian byte order. Read more
§

fn get_int_le(&mut self, nbytes: usize) -> i64

Gets a signed n-byte integer from self in little-endian byte order. Read more
§

fn get_int_ne(&mut self, nbytes: usize) -> i64

Gets a signed n-byte integer from self in native-endian byte order. Read more
§

fn get_f32(&mut self) -> f32

Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in big-endian byte order. Read more
§

fn get_f32_le(&mut self) -> f32

Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in little-endian byte order. Read more
§

fn get_f32_ne(&mut self) -> f32

Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in native-endian byte order. Read more
§

fn get_f64(&mut self) -> f64

Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in big-endian byte order. Read more
§

fn get_f64_le(&mut self) -> f64

Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in little-endian byte order. Read more
§

fn get_f64_ne(&mut self) -> f64

Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in native-endian byte order. Read more
§

fn try_copy_to_slice(&mut self, dst: &mut [u8]) -> Result<(), TryGetError>

Copies bytes from self into dst. Read more
§

fn try_get_u8(&mut self) -> Result<u8, TryGetError>

Gets an unsigned 8 bit integer from self. Read more
§

fn try_get_i8(&mut self) -> Result<i8, TryGetError>

Gets a signed 8 bit integer from self. Read more
§

fn try_get_u16(&mut self) -> Result<u16, TryGetError>

Gets an unsigned 16 bit integer from self in big-endian byte order. Read more
§

fn try_get_u16_le(&mut self) -> Result<u16, TryGetError>

Gets an unsigned 16 bit integer from self in little-endian byte order. Read more
§

fn try_get_u16_ne(&mut self) -> Result<u16, TryGetError>

Gets an unsigned 16 bit integer from self in native-endian byte order. Read more
§

fn try_get_i16(&mut self) -> Result<i16, TryGetError>

Gets a signed 16 bit integer from self in big-endian byte order. Read more
§

fn try_get_i16_le(&mut self) -> Result<i16, TryGetError>

Gets an signed 16 bit integer from self in little-endian byte order. Read more
§

fn try_get_i16_ne(&mut self) -> Result<i16, TryGetError>

Gets a signed 16 bit integer from self in native-endian byte order. Read more
§

fn try_get_u32(&mut self) -> Result<u32, TryGetError>

Gets an unsigned 32 bit integer from self in big-endian byte order. Read more
§

fn try_get_u32_le(&mut self) -> Result<u32, TryGetError>

Gets an unsigned 32 bit integer from self in little-endian byte order. Read more
§

fn try_get_u32_ne(&mut self) -> Result<u32, TryGetError>

Gets an unsigned 32 bit integer from self in native-endian byte order. Read more
§

fn try_get_i32(&mut self) -> Result<i32, TryGetError>

Gets a signed 32 bit integer from self in big-endian byte order. Read more
§

fn try_get_i32_le(&mut self) -> Result<i32, TryGetError>

Gets a signed 32 bit integer from self in little-endian byte order. Read more
§

fn try_get_i32_ne(&mut self) -> Result<i32, TryGetError>

Gets a signed 32 bit integer from self in native-endian byte order. Read more
§

fn try_get_u64(&mut self) -> Result<u64, TryGetError>

Gets an unsigned 64 bit integer from self in big-endian byte order. Read more
§

fn try_get_u64_le(&mut self) -> Result<u64, TryGetError>

Gets an unsigned 64 bit integer from self in little-endian byte order. Read more
§

fn try_get_u64_ne(&mut self) -> Result<u64, TryGetError>

Gets an unsigned 64 bit integer from self in native-endian byte order. Read more
§

fn try_get_i64(&mut self) -> Result<i64, TryGetError>

Gets a signed 64 bit integer from self in big-endian byte order. Read more
§

fn try_get_i64_le(&mut self) -> Result<i64, TryGetError>

Gets a signed 64 bit integer from self in little-endian byte order. Read more
§

fn try_get_i64_ne(&mut self) -> Result<i64, TryGetError>

Gets a signed 64 bit integer from self in native-endian byte order. Read more
§

fn try_get_u128(&mut self) -> Result<u128, TryGetError>

Gets an unsigned 128 bit integer from self in big-endian byte order. Read more
§

fn try_get_u128_le(&mut self) -> Result<u128, TryGetError>

Gets an unsigned 128 bit integer from self in little-endian byte order. Read more
§

fn try_get_u128_ne(&mut self) -> Result<u128, TryGetError>

Gets an unsigned 128 bit integer from self in native-endian byte order. Read more
§

fn try_get_i128(&mut self) -> Result<i128, TryGetError>

Gets a signed 128 bit integer from self in big-endian byte order. Read more
§

fn try_get_i128_le(&mut self) -> Result<i128, TryGetError>

Gets a signed 128 bit integer from self in little-endian byte order. Read more
§

fn try_get_i128_ne(&mut self) -> Result<i128, TryGetError>

Gets a signed 128 bit integer from self in native-endian byte order. Read more
§

fn try_get_uint(&mut self, nbytes: usize) -> Result<u64, TryGetError>

Gets an unsigned n-byte integer from self in big-endian byte order. Read more
§

fn try_get_uint_le(&mut self, nbytes: usize) -> Result<u64, TryGetError>

Gets an unsigned n-byte integer from self in little-endian byte order. Read more
§

fn try_get_uint_ne(&mut self, nbytes: usize) -> Result<u64, TryGetError>

Gets an unsigned n-byte integer from self in native-endian byte order. Read more
§

fn try_get_int(&mut self, nbytes: usize) -> Result<i64, TryGetError>

Gets a signed n-byte integer from self in big-endian byte order. Read more
§

fn try_get_int_le(&mut self, nbytes: usize) -> Result<i64, TryGetError>

Gets a signed n-byte integer from self in little-endian byte order. Read more
§

fn try_get_int_ne(&mut self, nbytes: usize) -> Result<i64, TryGetError>

Gets a signed n-byte integer from self in native-endian byte order. Read more
§

fn try_get_f32(&mut self) -> Result<f32, TryGetError>

Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in big-endian byte order. Read more
§

fn try_get_f32_le(&mut self) -> Result<f32, TryGetError>

Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in little-endian byte order. Read more
§

fn try_get_f32_ne(&mut self) -> Result<f32, TryGetError>

Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in native-endian byte order. Read more
§

fn try_get_f64(&mut self) -> Result<f64, TryGetError>

Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in big-endian byte order. Read more
§

fn try_get_f64_le(&mut self) -> Result<f64, TryGetError>

Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in little-endian byte order. Read more
§

fn try_get_f64_ne(&mut self) -> Result<f64, TryGetError>

Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in native-endian byte order. Read more
§

fn copy_to_bytes(&mut self, len: usize) -> Bytes

Consumes len bytes inside self and returns new instance of Bytes\nwith this data. Read more
§

fn take(self, limit: usize) -> Take<Self>
where\n Self: Sized,

Creates an adaptor which will read at most limit bytes from self. Read more
§

fn chain<U>(self, next: U) -> Chain<Self, U>
where\n U: Buf,\n Self: Sized,

Creates an adaptor which will chain this buffer with another. Read more
§

fn reader(self) -> Reader<Self>
where\n Self: Sized,

Creates an adaptor which implements the Read trait for self. Read more
","Buf","auth::common::HashedPassword","auth::common::Salt"],["
1.0.0 · Source§

impl BufRead for &[u8]

Source§

fn fill_buf(&mut self) -> Result<&[u8], Error>

Returns the contents of the internal buffer, filling it with more data, via Read methods, if empty. Read more
Source§

fn consume(&mut self, amt: usize)

Marks the given amount of additional bytes from the internal buffer as having been read.\nSubsequent calls to read only return bytes that have not been marked as read. Read more
Source§

fn has_data_left(&mut self) -> Result<bool, Error>

🔬This is a nightly-only experimental API. (buf_read_has_data_left)
Checks if there is any data left to be read. Read more
1.0.0 · Source§

fn read_until(&mut self, byte: u8, buf: &mut Vec<u8>) -> Result<usize, Error>

Reads all bytes into buf until the delimiter byte or EOF is reached. Read more
1.83.0 · Source§

fn skip_until(&mut self, byte: u8) -> Result<usize, Error>

Skips all bytes until the delimiter byte or EOF is reached. Read more
1.0.0 · Source§

fn read_line(&mut self, buf: &mut String) -> Result<usize, Error>

Reads all bytes until a newline (the 0xA byte) is reached, and append\nthem to the provided String buffer. Read more
1.0.0 · Source§

fn split(self, byte: u8) -> Split<Self>
where\n Self: Sized,

Returns an iterator over the contents of this reader split on the byte\nbyte. Read more
1.0.0 · Source§

fn lines(self) -> Lines<Self>
where\n Self: Sized,

Returns an iterator over the lines of this reader. Read more
","BufRead","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8]> for &'a [u8]

§

fn compare(&self, t: &'b [u8]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8]> for &'a [u8]

§

fn compare(&self, t: &'b [u8]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'b> Compare<&'b [u8]> for &[u8]

§

fn compare(&self, t: &'b [u8]) -> CompareResult

Compares self to another value for equality
","Compare<&'b [u8]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 0]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 0]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 0]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 0]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 1]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 1]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 1]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 1]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 10]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 10]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 10]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 10]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 11]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 11]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 11]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 11]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 12]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 12]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 12]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 12]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 13]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 13]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 13]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 13]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 14]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 14]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 14]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 14]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 15]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 15]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 15]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 15]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 16]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 16]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 16]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 16]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 17]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 17]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 17]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 17]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 18]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 18]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 18]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 18]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 19]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 19]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 19]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 19]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 2]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 2]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 2]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 2]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 20]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 20]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 20]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 20]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 21]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 21]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 21]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 21]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 22]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 22]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 22]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 22]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 23]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 23]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 23]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 23]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 24]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 24]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 24]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 24]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 25]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 25]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 25]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 25]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 26]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 26]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 26]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 26]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 27]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 27]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 27]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 27]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 28]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 28]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 28]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 28]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 29]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 29]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 29]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 29]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 3]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 3]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 3]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 3]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 30]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 30]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 30]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 30]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 31]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 31]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 31]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 31]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 32]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 32]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 32]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 32]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 4]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 4]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 4]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 4]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 5]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 5]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 5]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 5]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 6]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 6]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 6]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 6]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 7]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 7]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 7]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 7]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 8]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 8]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 8]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 8]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b [u8; 9]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 9]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 9]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 9]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'b, const LEN: usize> Compare<&'b [u8; LEN]> for &[u8]

§

fn compare(&self, t: &'b [u8; LEN]) -> CompareResult

Compares self to another value for equality
","Compare<&'b [u8; LEN]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b, const N: usize> Compare<&'b [u8; N]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; N]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; N]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; N]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b str> for &'a [u8]

§

fn compare(&self, t: &'b str) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b str) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b str>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> Compare<&'b str> for &'a [u8]

§

fn compare(&self, t: &'b str) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b str) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b str>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'b> Compare<&'b str> for &[u8]

§

fn compare(&self, t: &'b str) -> CompareResult

Compares self to another value for equality
","Compare<&'b str>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 0]> for &'a [u8]

§

fn compare(&self, t: [u8; 0]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 0]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 0]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 1]> for &'a [u8]

§

fn compare(&self, t: [u8; 1]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 1]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 1]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 10]> for &'a [u8]

§

fn compare(&self, t: [u8; 10]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 10]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 10]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 11]> for &'a [u8]

§

fn compare(&self, t: [u8; 11]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 11]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 11]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 12]> for &'a [u8]

§

fn compare(&self, t: [u8; 12]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 12]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 12]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 13]> for &'a [u8]

§

fn compare(&self, t: [u8; 13]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 13]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 13]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 14]> for &'a [u8]

§

fn compare(&self, t: [u8; 14]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 14]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 14]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 15]> for &'a [u8]

§

fn compare(&self, t: [u8; 15]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 15]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 15]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 16]> for &'a [u8]

§

fn compare(&self, t: [u8; 16]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 16]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 16]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 17]> for &'a [u8]

§

fn compare(&self, t: [u8; 17]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 17]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 17]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 18]> for &'a [u8]

§

fn compare(&self, t: [u8; 18]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 18]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 18]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 19]> for &'a [u8]

§

fn compare(&self, t: [u8; 19]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 19]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 19]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 2]> for &'a [u8]

§

fn compare(&self, t: [u8; 2]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 2]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 2]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 20]> for &'a [u8]

§

fn compare(&self, t: [u8; 20]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 20]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 20]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 21]> for &'a [u8]

§

fn compare(&self, t: [u8; 21]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 21]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 21]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 22]> for &'a [u8]

§

fn compare(&self, t: [u8; 22]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 22]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 22]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 23]> for &'a [u8]

§

fn compare(&self, t: [u8; 23]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 23]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 23]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 24]> for &'a [u8]

§

fn compare(&self, t: [u8; 24]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 24]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 24]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 25]> for &'a [u8]

§

fn compare(&self, t: [u8; 25]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 25]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 25]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 26]> for &'a [u8]

§

fn compare(&self, t: [u8; 26]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 26]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 26]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 27]> for &'a [u8]

§

fn compare(&self, t: [u8; 27]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 27]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 27]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 28]> for &'a [u8]

§

fn compare(&self, t: [u8; 28]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 28]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 28]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 29]> for &'a [u8]

§

fn compare(&self, t: [u8; 29]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 29]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 29]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 3]> for &'a [u8]

§

fn compare(&self, t: [u8; 3]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 3]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 3]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 30]> for &'a [u8]

§

fn compare(&self, t: [u8; 30]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 30]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 30]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 31]> for &'a [u8]

§

fn compare(&self, t: [u8; 31]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 31]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 31]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 32]> for &'a [u8]

§

fn compare(&self, t: [u8; 32]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 32]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 32]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 4]> for &'a [u8]

§

fn compare(&self, t: [u8; 4]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 4]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 4]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 5]> for &'a [u8]

§

fn compare(&self, t: [u8; 5]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 5]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 5]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 6]> for &'a [u8]

§

fn compare(&self, t: [u8; 6]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 6]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 6]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 7]> for &'a [u8]

§

fn compare(&self, t: [u8; 7]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 7]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 7]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 8]> for &'a [u8]

§

fn compare(&self, t: [u8; 8]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 8]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 8]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Compare<[u8; 9]> for &'a [u8]

§

fn compare(&self, t: [u8; 9]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 9]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 9]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<const LEN: usize> Compare<[u8; LEN]> for &[u8]

§

fn compare(&self, t: [u8; LEN]) -> CompareResult

Compares self to another value for equality
","Compare<[u8; LEN]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, const N: usize> Compare<[u8; N]> for &'a [u8]

§

fn compare(&self, t: [u8; N]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; N]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; N]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'b> Compare<Caseless<&'b [u8]>> for &[u8]

§

fn compare(&self, t: Caseless<&'b [u8]>) -> CompareResult

Compares self to another value for equality
","Compare>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'b, const LEN: usize> Compare<Caseless<&'b [u8; LEN]>> for &[u8]

§

fn compare(&self, t: Caseless<&'b [u8; LEN]>) -> CompareResult

Compares self to another value for equality
","Compare>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'b> Compare<Caseless<&'b str>> for &[u8]

§

fn compare(&self, t: Caseless<&'b str>) -> CompareResult

Compares self to another value for equality
","Compare>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<const LEN: usize> Compare<Caseless<[u8; LEN]>> for &[u8]

§

fn compare(&self, t: Caseless<[u8; LEN]>) -> CompareResult

Compares self to another value for equality
","Compare>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl Compare<Caseless<char>> for &[u8]

§

fn compare(&self, t: Caseless<char>) -> CompareResult

Compares self to another value for equality
","Compare>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl Compare<Caseless<u8>> for &[u8]

§

fn compare(&self, t: Caseless<u8>) -> CompareResult

Compares self to another value for equality
","Compare>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl Compare<char> for &[u8]

§

fn compare(&self, t: char) -> CompareResult

Compares self to another value for equality
","Compare","auth::common::HashedPassword","auth::common::Salt"],["
§

impl Compare<u8> for &[u8]

§

fn compare(&self, t: u8) -> CompareResult

Compares self to another value for equality
","Compare","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<C> ContainsToken<C> for &[u8]
where\n C: AsChar,

§

fn contains_token(&self, token: C) -> bool

Returns true if self contains the token
","ContainsToken","auth::common::HashedPassword","auth::common::Salt"],["
1.0.0 (const: unstable) · Source§

impl<T> Default for &[T]

Source§

fn default() -> &[T]

Creates an empty slice.

\n
","Default","auth::common::HashedPassword","auth::common::Salt"],["
Source§

impl<'de, 'a> Deserialize<'de> for &'a [u8]
where\n 'de: 'a,

Source§

fn deserialize<D>(\n deserializer: D,\n) -> Result<&'a [u8], <D as Deserializer<'de>>::Error>
where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<T, E, F> EncodeAsVarULE<VarZeroSlice<T, F>> for &[E]
where\n T: VarULE + ?Sized,\n E: EncodeAsVarULE<T>,\n F: VarZeroVecFormat,

§

fn encode_var_ule_as_slices<R>(&self, _: impl FnOnce(&[&[u8]]) -> R) -> R

Calls cb with a piecewise list of byte slices that when concatenated\nproduce the memory pattern of the corresponding instance of T. Read more
§

fn encode_var_ule_len(&self) -> usize

Return the length, in bytes, of the corresponding [VarULE] type
§

fn encode_var_ule_write(&self, dst: &mut [u8])

Write the corresponding [VarULE] type to the dst buffer. dst should\nbe the size of [Self::encode_var_ule_len()]
","EncodeAsVarULE>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<T> EncodeAsVarULE<ZeroSlice<T>> for &[T]
where\n T: AsULE + 'static,

§

fn encode_var_ule_as_slices<R>(&self, _: impl FnOnce(&[&[u8]]) -> R) -> R

Calls cb with a piecewise list of byte slices that when concatenated\nproduce the memory pattern of the corresponding instance of T. Read more
§

fn encode_var_ule_len(&self) -> usize

Return the length, in bytes, of the corresponding [VarULE] type
§

fn encode_var_ule_write(&self, dst: &mut [u8])

Write the corresponding [VarULE] type to the dst buffer. dst should\nbe the size of [Self::encode_var_ule_len()]
","EncodeAsVarULE>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl ExtendInto for &[u8]

§

type Item = u8

The current input type is a sequence of that Item type. Read more
§

type Extender = Vec<u8>

The type that will be produced
§

fn new_builder(&self) -> Vec<u8>

Create a new Extend of the correct type
§

fn extend_into(&self, acc: &mut Vec<u8>)

Accumulate the input into an accumulator
","ExtendInto","auth::common::HashedPassword","auth::common::Salt"],["
§

impl ExtendInto for &[u8]

§

type Item = u8

The current input type is a sequence of that Item type. Read more
§

type Extender = Vec<u8>

The type that will be produced
§

fn new_builder(&self) -> Vec<u8>

Create a new Extend of the correct type
§

fn extend_into(&self, acc: &mut Vec<u8>)

Accumulate the input into an accumulator
","ExtendInto","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'s> FindSlice<&'s [u8]> for &[u8]

§

fn find_slice(&self, substr: &'s [u8]) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<&'s [u8]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'s> FindSlice<&'s str> for &[u8]

§

fn find_slice(&self, substr: &'s str) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<&'s str>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'s> FindSlice<(&'s [u8],)> for &[u8]

§

fn find_slice(&self, substr: (&'s [u8],)) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(&'s [u8],)>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'s> FindSlice<(&'s [u8], &'s [u8])> for &[u8]

§

fn find_slice(&self, substr: (&'s [u8], &'s [u8])) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(&'s [u8], &'s [u8])>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'s> FindSlice<(&'s [u8], &'s [u8], &'s [u8])> for &[u8]

§

fn find_slice(\n &self,\n substr: (&'s [u8], &'s [u8], &'s [u8]),\n) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(&'s [u8], &'s [u8], &'s [u8])>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'s> FindSlice<(&'s str,)> for &[u8]

§

fn find_slice(&self, substr: (&'s str,)) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(&'s str,)>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'s> FindSlice<(&'s str, &'s str)> for &[u8]

§

fn find_slice(&self, substr: (&'s str, &'s str)) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(&'s str, &'s str)>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'s> FindSlice<(&'s str, &'s str, &'s str)> for &[u8]

§

fn find_slice(\n &self,\n substr: (&'s str, &'s str, &'s str),\n) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(&'s str, &'s str, &'s str)>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl FindSlice<(char,)> for &[u8]

§

fn find_slice(&self, substr: (char,)) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(char,)>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl FindSlice<(char, char)> for &[u8]

§

fn find_slice(&self, substr: (char, char)) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(char, char)>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl FindSlice<(char, char, char)> for &[u8]

§

fn find_slice(&self, substr: (char, char, char)) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(char, char, char)>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl FindSlice<(u8,)> for &[u8]

§

fn find_slice(&self, substr: (u8,)) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(u8,)>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl FindSlice<(u8, u8)> for &[u8]

§

fn find_slice(&self, substr: (u8, u8)) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(u8, u8)>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl FindSlice<(u8, u8, u8)> for &[u8]

§

fn find_slice(&self, substr: (u8, u8, u8)) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(u8, u8, u8)>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl FindSlice<char> for &[u8]

§

fn find_slice(&self, substr: char) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice","auth::common::HashedPassword","auth::common::Salt"],["
§

impl FindSlice<u8> for &[u8]

§

fn find_slice(&self, substr: u8) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> FindSubstring<&'b [u8]> for &'a [u8]

§

fn find_substring(&self, substr: &'b [u8]) -> Option<usize>

Returns the byte position of the substring if it is found
","FindSubstring<&'b [u8]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> FindSubstring<&'b [u8]> for &'a [u8]

§

fn find_substring(&self, substr: &'b [u8]) -> Option<usize>

Returns the byte position of the substring if it is found
","FindSubstring<&'b [u8]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> FindSubstring<&'b str> for &'a [u8]

§

fn find_substring(&self, substr: &'b str) -> Option<usize>

Returns the byte position of the substring if it is found
","FindSubstring<&'b str>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> FindSubstring<&'b str> for &'a [u8]

§

fn find_substring(&self, substr: &'b str) -> Option<usize>

Returns the byte position of the substring if it is found
","FindSubstring<&'b str>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> FindToken<&'a u8> for &'b [u8]

§

fn find_token(&self, token: &u8) -> bool

Returns true if self contains the token
","FindToken<&'a u8>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, 'b> FindToken<&'a u8> for &'b [u8]

§

fn find_token(&self, token: &u8) -> bool

Returns true if self contains the token
","FindToken<&'a u8>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> FindToken<char> for &'a [u8]

§

fn find_token(&self, token: char) -> bool

Returns true if self contains the token
","FindToken","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> FindToken<char> for &'a [u8]

§

fn find_token(&self, token: char) -> bool

Returns true if self contains the token
","FindToken","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> FindToken<u8> for &'a [u8]

§

fn find_token(&self, token: u8) -> bool

Returns true if self contains the token
","FindToken","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> FindToken<u8> for &'a [u8]

§

fn find_token(&self, token: u8) -> bool

Returns true if self contains the token
","FindToken","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Follow<'a> for &'a [u8]

§

type Inner = &'a [u8]

§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <&'a [u8] as Follow<'a>>::Inner

Safety Read more
","Follow<'a>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> From<&'a BStr> for &'a [u8]

§

fn from(s: &'a BStr) -> &'a [u8]

Converts to this type from the input type.
","From<&'a BStr>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> From<&'a Bytes> for &'a [u8]

§

fn from(s: &'a Bytes) -> &'a [u8]

Converts to this type from the input type.
","From<&'a Bytes>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'h> From<Match<'h>> for &'h [u8]

§

fn from(m: Match<'h>) -> &'h [u8]

Converts to this type from the input type.
","From>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> From<OctetStringRef<'a>> for &'a [u8]

§

fn from(octet_string: OctetStringRef<'a>) -> &'a [u8]

Converts to this type from the input type.
","From>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> From<VideotexStringRef<'a>> for &'a [u8]

§

fn from(printable_string: VideotexStringRef<'a>) -> &'a [u8]

Converts to this type from the input type.
","From>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> FromSql<'a> for &'a [u8]

§

fn from_sql(\n _: &Type,\n raw: &'a [u8],\n) -> Result<&'a [u8], Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified\nPostgres Type in its binary format. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified\nPostgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable(\n ty: &Type,\n raw: Option<&'a [u8]>,\n) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the\nvalue of raw.
","FromSql<'a>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Input for &'a [u8]

§

fn split_at_position_mode<OM, P, E>(\n &self,\n predicate: P,\n) -> Result<(&'a [u8], <<OM as OutputMode>::Output as Mode>::Output<&'a [u8]>), Err<E, <<OM as OutputMode>::Error as Mode>::Output<E>>>
where\n OM: OutputMode,\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as Input>::Item) -> bool,

mode version of split_at_position

\n
§

fn split_at_position_mode1<OM, P, E>(\n &self,\n predicate: P,\n e: ErrorKind,\n) -> Result<(&'a [u8], <<OM as OutputMode>::Output as Mode>::Output<&'a [u8]>), Err<E, <<OM as OutputMode>::Error as Mode>::Output<E>>>
where\n OM: OutputMode,\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as Input>::Item) -> bool,

mode version of split_at_position

\n
§

type Item = u8

The current input type is a sequence of that Item type. Read more
§

type Iter = Copied<Iter<'a, u8>>

An iterator over the input type, producing the item
§

type IterIndices = Enumerate<<&'a [u8] as Input>::Iter>

An iterator over the input type, producing the item and its byte position\nIf we’re iterating over &str, the position\ncorresponds to the byte index of the character
§

fn input_len(&self) -> usize

Calculates the input length, as indicated by its name,\nand the name of the trait itself
§

fn take(&self, index: usize) -> &'a [u8]

Returns a slice of index bytes. panics if index > length
§

fn take_from(&self, index: usize) -> &'a [u8]

Returns a slice starting at index bytes. panics if index > length
§

fn take_split(&self, index: usize) -> (&'a [u8], &'a [u8])

Split the stream at the index byte offset. panics if index > length
§

fn position<P>(&self, predicate: P) -> Option<usize>
where\n P: Fn(<&'a [u8] as Input>::Item) -> bool,

Returns the byte position of the first element satisfying the predicate
§

fn iter_elements(&self) -> <&'a [u8] as Input>::Iter

Returns an iterator over the elements
§

fn iter_indices(&self) -> <&'a [u8] as Input>::IterIndices

Returns an iterator over the elements and their byte offsets
§

fn slice_index(&self, count: usize) -> Result<usize, Needed>

Get the byte offset from the element’s position in the stream
§

fn split_at_position<P, E>(\n &self,\n predicate: P,\n) -> Result<(&'a [u8], &'a [u8]), Err<E>>
where\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as Input>::Item) -> bool,

Looks for the first element of the input type for which the condition returns true,\nand returns the input up to this position. Read more
§

fn split_at_position1<P, E>(\n &self,\n predicate: P,\n e: ErrorKind,\n) -> Result<(&'a [u8], &'a [u8]), Err<E>>
where\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as Input>::Item) -> bool,

Looks for the first element of the input type for which the condition returns true\nand returns the input up to this position. Read more
§

fn split_at_position_complete<P, E>(\n &self,\n predicate: P,\n) -> Result<(&'a [u8], &'a [u8]), Err<E>>
where\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as Input>::Item) -> bool,

Looks for the first element of the input type for which the condition returns true,\nand returns the input up to this position. Read more
§

fn split_at_position1_complete<P, E>(\n &self,\n predicate: P,\n e: ErrorKind,\n) -> Result<(&'a [u8], &'a [u8]), Err<E>>
where\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as Input>::Item) -> bool,

Looks for the first element of the input type for which the condition returns true\nand returns the input up to this position. Read more
","Input","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> InputIter for &'a [u8]

§

type Item = u8

The current input type is a sequence of that Item type. Read more
§

type Iter = Enumerate<<&'a [u8] as InputIter>::IterElem>

An iterator over the input type, producing the item and its position\nfor use with [Slice]. If we’re iterating over &str, the position\ncorresponds to the byte index of the character
§

type IterElem = Copied<Iter<'a, u8>>

An iterator over the input type, producing the item
§

fn iter_indices(&self) -> <&'a [u8] as InputIter>::Iter

Returns an iterator over the elements and their byte offsets
§

fn iter_elements(&self) -> <&'a [u8] as InputIter>::IterElem

Returns an iterator over the elements
§

fn position<P>(&self, predicate: P) -> Option<usize>
where\n P: Fn(<&'a [u8] as InputIter>::Item) -> bool,

Finds the byte position of the element
§

fn slice_index(&self, count: usize) -> Result<usize, Needed>

Get the byte offset from the element’s position in the stream
","InputIter","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, T> InputLength for &'a [T]

§

fn input_len(&self) -> usize

Calculates the input length, as indicated by its name,\nand the name of the trait itself
","InputLength","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> InputTake for &'a [u8]

§

fn take(&self, count: usize) -> &'a [u8]

Returns a slice of count bytes. panics if count > length
§

fn take_split(&self, count: usize) -> (&'a [u8], &'a [u8])

Split the stream at the count byte offset. panics if count > length
","InputTake","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> InputTakeAtPosition for &'a [u8]

§

type Item = u8

The current input type is a sequence of that Item type. Read more
§

fn split_at_position<P, E>(\n &self,\n predicate: P,\n) -> Result<(&'a [u8], &'a [u8]), Err<E>>
where\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as InputTakeAtPosition>::Item) -> bool,

Looks for the first element of the input type for which the condition returns true,\nand returns the input up to this position. Read more
§

fn split_at_position1<P, E>(\n &self,\n predicate: P,\n e: ErrorKind,\n) -> Result<(&'a [u8], &'a [u8]), Err<E>>
where\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as InputTakeAtPosition>::Item) -> bool,

Looks for the first element of the input type for which the condition returns true\nand returns the input up to this position. Read more
§

fn split_at_position_complete<P, E>(\n &self,\n predicate: P,\n) -> Result<(&'a [u8], &'a [u8]), Err<E>>
where\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as InputTakeAtPosition>::Item) -> bool,

Looks for the first element of the input type for which the condition returns true,\nand returns the input up to this position. Read more
§

fn split_at_position1_complete<P, E>(\n &self,\n predicate: P,\n e: ErrorKind,\n) -> Result<(&'a [u8], &'a [u8]), Err<E>>
where\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as InputTakeAtPosition>::Item) -> bool,

Looks for the first element of the input type for which the condition returns true\nand returns the input up to this position. Read more
","InputTakeAtPosition","auth::common::HashedPassword","auth::common::Salt"],["
§

impl IntoArrayRef for &[u8]

§

fn into_array_ref(self) -> Arc<dyn Array>

","IntoArrayRef","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> IntoByteSlice<'a> for &'a [u8]

§

fn into_byte_slice(self) -> &'a [u8]

Coverts self into a &[u8]. Read more
","IntoByteSlice<'a>","auth::common::HashedPassword","auth::common::Salt"],["
Source§

impl<'de, 'a, E> IntoDeserializer<'de, E> for &'a [u8]
where\n E: Error,

Source§

type Deserializer = BytesDeserializer<'a, E>

The type of the deserializer being converted into.
Source§

fn into_deserializer(self) -> BytesDeserializer<'a, E>

Convert this value into a deserializer.
","IntoDeserializer<'de, E>","auth::common::HashedPassword","auth::common::Salt"],["
1.0.0 · Source§

impl<'a, T> IntoIterator for &'a [T]

Source§

type Item = &'a T

The type of the elements being iterated over.
Source§

type IntoIter = Iter<'a, T>

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Iter<'a, T>

Creates an iterator from a value. Read more
","IntoIterator","auth::common::HashedPassword","auth::common::Salt"],["
§

impl IntoResponse for &'static [u8]

§

fn into_response(self) -> Response<Body>

Create a response.
","IntoResponse","auth::common::HashedPassword","auth::common::Salt"],["
§

impl Literal for &[u8]

§

fn lit(&self) -> Expr

convert the value to a Literal expression
","Literal","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, T> Offset<<&'a [T] as Stream>::Checkpoint> for &'a [T]
where\n T: Clone + Debug,

§

fn offset_from(&self, other: &<&'a [T] as Stream>::Checkpoint) -> usize

Offset between the first byte of start and the first byte of selfa Read more
","Offset<<&'a [T] as Stream>::Checkpoint>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<T> Offset for &[T]

§

fn offset_from(&self, start: &&[T]) -> usize

Offset between the first byte of start and the first byte of selfa Read more
","Offset","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Offset for &'a [u8]

§

fn offset(&self, second: &&'a [u8]) -> usize

Offset between the first byte of self and the first byte of the argument
","Offset","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Offset for &'a [u8]

§

fn offset(&self, second: &&'a [u8]) -> usize

Offset between the first byte of self and the first byte of the argument\nthe argument must be a part of self, otherwise this can fail with arithmetic\nunderflows as it compares byte offsets
","Offset","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<R> ParseSlice<R> for &[u8]
where\n R: FromStr,

§

fn parse_slice(&self) -> Option<R>

Succeeds if parse() succeeded Read more
","ParseSlice","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, R> ParseTo<R> for &'a [u8]
where\n R: FromStr,

§

fn parse_to(&self) -> Option<R>

Succeeds if parse() succeeded. The byte slice implementation\nwill first convert it to a &str, then apply the parse() function
","ParseTo","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, R> ParseTo<R> for &'a [u8]
where\n R: FromStr,

§

fn parse_to(&self) -> Option<R>

Succeeds if parse() succeeded. The byte slice implementation\nwill first convert it to a &str, then apply the parse() function
","ParseTo","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'s, I, E> Parser<I, <I as Stream>::Slice, E> for &'s [u8]
where\n E: ParserError<I>,\n I: Compare<&'s [u8]> + StreamIsPartial + Stream,

This is a shortcut for [literal][crate::token::literal].

\n

§Example

\n
\nfn parser<'s>(s: &mut &'s [u8]) -> ModalResult<&'s [u8]> {\n  alt((&\"Hello\"[..], take(5usize))).parse_next(s)\n}\n\nassert_eq!(parser.parse_peek(&b\"Hello, World!\"[..]), Ok((&b\", World!\"[..], &b\"Hello\"[..])));\nassert_eq!(parser.parse_peek(&b\"Something\"[..]), Ok((&b\"hing\"[..], &b\"Somet\"[..])));\nassert!(parser.parse_peek(&b\"Some\"[..]).is_err());\nassert!(parser.parse_peek(&b\"\"[..]).is_err());
§

fn parse_next(&mut self, i: &mut I) -> Result<<I as Stream>::Slice, E>

Take tokens from the [Stream], turning it into the output Read more
§

fn parse(\n &mut self,\n input: I,\n) -> Result<O, ParseError<I, <E as ParserError<I>>::Inner>>
where\n Self: Sized,\n I: Stream + StreamIsPartial,\n E: ParserError<I>,\n <E as ParserError<I>>::Inner: ParserError<I>,

Parse all of input, generating O from it
§

fn parse_peek(&mut self, input: I) -> Result<(I, O), E>

Take tokens from the [Stream], turning it into the output Read more
§

fn by_ref(&mut self) -> ByRef<'_, Self, I, O, E>
where\n Self: Sized,

Treat &mut Self as a parser Read more
§

fn value<O2>(self, val: O2) -> Value<Self, I, O, O2, E>
where\n Self: Sized,\n O2: Clone,

Produce the provided value Read more
§

fn default_value<O2>(self) -> DefaultValue<Self, I, O, O2, E>
where\n Self: Sized,\n O2: Default,

Produce a type’s default value Read more
§

fn void(self) -> Void<Self, I, O, E>
where\n Self: Sized,

Discards the output of the Parser Read more
§

fn output_into<O2>(self) -> OutputInto<Self, I, O, O2, E>
where\n Self: Sized,\n O: Into<O2>,

Convert the parser’s output to another type using std::convert::From Read more
§

fn take(self) -> Take<Self, I, O, E>
where\n Self: Sized,\n I: Stream,

Produce the consumed input as produced value. Read more
§

fn with_taken(self) -> WithTaken<Self, I, O, E>
where\n Self: Sized,\n I: Stream,

Produce the consumed input with the output Read more
§

fn span(self) -> Span<Self, I, O, E>
where\n Self: Sized,\n I: Stream + Location,

Produce the location of the consumed input as produced value. Read more
§

fn with_span(self) -> WithSpan<Self, I, O, E>
where\n Self: Sized,\n I: Stream + Location,

Produce the location of consumed input with the output Read more
§

fn map<G, O2>(self, map: G) -> Map<Self, G, I, O, O2, E>
where\n G: FnMut(O) -> O2,\n Self: Sized,

Maps a function over the output of a parser Read more
§

fn try_map<G, O2, E2>(self, map: G) -> TryMap<Self, G, I, O, O2, E, E2>
where\n Self: Sized,\n G: FnMut(O) -> Result<O2, E2>,\n I: Stream,\n E: FromExternalError<I, E2> + ParserError<I>,

Applies a function returning a Result over the output of a parser. Read more
§

fn verify_map<G, O2>(self, map: G) -> VerifyMap<Self, G, I, O, O2, E>
where\n Self: Sized,\n G: FnMut(O) -> Option<O2>,\n I: Stream,\n E: ParserError<I>,

Apply both [Parser::verify] and [Parser::map]. Read more
§

fn flat_map<G, H, O2>(self, map: G) -> FlatMap<Self, G, H, I, O, O2, E>
where\n Self: Sized,\n G: FnMut(O) -> H,\n H: Parser<I, O2, E>,

Creates a parser from the output of this one Read more
§

fn and_then<G, O2>(self, inner: G) -> AndThen<Self, G, I, O, O2, E>
where\n Self: Sized,\n G: Parser<O, O2, E>,\n O: StreamIsPartial,\n I: Stream,

Applies a second parser over the output of the first one Read more
§

fn parse_to<O2>(self) -> ParseTo<Self, I, O, O2, E>
where\n Self: Sized,\n I: Stream,\n O: ParseSlice<O2>,\n E: ParserError<I>,

Apply std::str::FromStr to the output of the parser Read more
§

fn verify<G, O2>(self, filter: G) -> Verify<Self, G, I, O, O2, E>
where\n Self: Sized,\n G: FnMut(&O2) -> bool,\n I: Stream,\n O: Borrow<O2>,\n E: ParserError<I>,\n O2: ?Sized,

Returns the output of the child parser if it satisfies a verification function. Read more
§

fn context<C>(self, context: C) -> Context<Self, I, O, E, C>
where\n Self: Sized,\n I: Stream,\n E: AddContext<I, C> + ParserError<I>,\n C: Clone + Debug,

If parsing fails, add context to the error Read more
§

fn context_with<F, C, FI>(\n self,\n context: F,\n) -> ContextWith<Self, I, O, E, F, C, FI>
where\n Self: Sized,\n I: Stream,\n E: AddContext<I, C> + ParserError<I>,\n F: Fn() -> FI + Clone,\n C: Debug,\n FI: Iterator<Item = C>,

If parsing fails, dynamically add context to the error Read more
§

fn map_err<G, E2>(self, map: G) -> MapErr<Self, G, I, O, E, E2>
where\n G: FnMut(E) -> E2,\n Self: Sized,

Maps a function over the error of a parser Read more
§

fn complete_err(self) -> CompleteErr<Self, I, O, E>
where\n Self: Sized,

Transforms [Incomplete][crate::error::ErrMode::Incomplete] into [Backtrack][crate::error::ErrMode::Backtrack] Read more
§

fn err_into<E2>(self) -> ErrInto<Self, I, O, E, E2>
where\n Self: Sized,\n E: Into<E2>,

Convert the parser’s error to another type using std::convert::From
","Parser::Slice, E>","auth::common::HashedPassword","auth::common::Salt"],["
1.0.0 (const: unstable) · Source§

impl<T, U, const N: usize> PartialEq<[U; N]> for &[T]
where\n T: PartialEq<U>,

Source§

fn eq(&self, other: &[U; N]) -> bool

Tests for self and other values to be equal, and is used by ==.
Source§

fn ne(&self, other: &[U; N]) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq<[U; N]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> PartialEq<BStr> for &'a [u8]

§

fn eq(&self, other: &BStr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","auth::common::HashedPassword","auth::common::Salt"],["
Source§

impl<'a> PartialEq<ByteStr> for &[u8]

Source§

fn eq(&self, other: &ByteStr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","auth::common::HashedPassword","auth::common::Salt"],["
Source§

impl<'a> PartialEq<ByteString> for &[u8]

Source§

fn eq(&self, other: &ByteString) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","auth::common::HashedPassword","auth::common::Salt"],["
§

impl PartialEq<Bytes> for &[u8]

§

fn eq(&self, other: &Bytes) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> PartialEq<Bytes> for &'a [u8]

§

fn eq(&self, other: &Bytes) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","auth::common::HashedPassword","auth::common::Salt"],["
§

impl PartialEq<BytesMut> for &[u8]

§

fn eq(&self, other: &BytesMut) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<T, U, A> PartialEq<Vec<U, A>> for &[T]
where\n A: Allocator,\n T: PartialEq<U>,

§

fn eq(&self, other: &Vec<U, A>) -> bool

Tests for self and other values to be equal, and is used by ==.
§

fn ne(&self, other: &Vec<U, A>) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq>","auth::common::HashedPassword","auth::common::Salt"],["
1.46.0 · Source§

impl<T, U, A> PartialEq<Vec<U, A>> for &[T]
where\n A: Allocator,\n T: PartialEq<U>,

Source§

fn eq(&self, other: &Vec<U, A>) -> bool

Tests for self and other values to be equal, and is used by ==.
Source§

fn ne(&self, other: &Vec<U, A>) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<T> PartialEq<Vec1<T>> for &[T]
where\n T: PartialEq,

§

fn eq(&self, other: &Vec1<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<T> PartialEq<VecList<T>> for &[T]
where\n T: PartialEq,

§

fn eq(&self, other: &VecList<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> PartialOrd<BStr> for &'a [u8]

§

fn partial_cmp(&self, other: &BStr) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the >\noperator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
","PartialOrd","auth::common::HashedPassword","auth::common::Salt"],["
§

impl PartialOrd<Bytes> for &[u8]

§

fn partial_cmp(&self, other: &Bytes) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the >\noperator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
","PartialOrd","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> PartialOrd<Bytes> for &'a [u8]

§

fn partial_cmp(&self, other: &Bytes) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the >\noperator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
","PartialOrd","auth::common::HashedPassword","auth::common::Salt"],["
§

impl PartialOrd<BytesMut> for &[u8]

§

fn partial_cmp(&self, other: &BytesMut) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the >\noperator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
","PartialOrd","auth::common::HashedPassword","auth::common::Salt"],["
Source§

impl<'a> PhfBorrow<[u8]> for &'a [u8]

Source§

fn borrow(&self) -> &[u8]

Convert a reference to self to a reference to the borrowed type.
","PhfBorrow<[u8]>","auth::common::HashedPassword","auth::common::Salt"],["
1.0.0 · Source§

impl Read for &[u8]

Read is implemented for &[u8] by copying from the slice.

\n

Note that reading updates the slice to point to the yet unread part.\nThe slice will be empty when EOF is reached.

\n
Source§

fn read(&mut self, buf: &mut [u8]) -> Result<usize, Error>

Pull some bytes from this source into the specified buffer, returning\nhow many bytes were read. Read more
Source§

fn read_buf(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>

🔬This is a nightly-only experimental API. (read_buf)
Pull some bytes from this source into the specified buffer. Read more
Source§

fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> Result<usize, Error>

Like read, except that it reads into a slice of buffers. Read more
Source§

fn is_read_vectored(&self) -> bool

🔬This is a nightly-only experimental API. (can_vector)
Determines if this Reader has an efficient read_vectored\nimplementation. Read more
Source§

fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Error>

Reads the exact number of bytes required to fill buf. Read more
Source§

fn read_buf_exact(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>

🔬This is a nightly-only experimental API. (read_buf)
Reads the exact number of bytes required to fill cursor. Read more
Source§

fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<usize, Error>

Reads all bytes until EOF in this source, placing them into buf. Read more
Source§

fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>

Reads all bytes until EOF in this source, appending them to buf. Read more
1.0.0 · Source§

fn by_ref(&mut self) -> &mut Self
where\n Self: Sized,

Creates a “by reference” adapter for this instance of Read. Read more
1.0.0 · Source§

fn bytes(self) -> Bytes<Self>
where\n Self: Sized,

Transforms this Read instance to an Iterator over its bytes. Read more
1.0.0 · Source§

fn chain<R>(self, next: R) -> Chain<Self, R>
where\n R: Read,\n Self: Sized,

Creates an adapter which will chain this stream with another. Read more
1.0.0 · Source§

fn take(self, limit: u64) -> Take<Self>
where\n Self: Sized,

Creates an adapter which will read at most limit bytes from it. Read more
","Read","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> ReadRef<'a> for &'a [u8]

§

fn len(self) -> Result<u64, ()>

The total size of the block of data.
§

fn read_bytes_at(self, offset: u64, size: u64) -> Result<&'a [u8], ()>

Get a reference to a u8 slice at the given offset. Read more
§

fn read_bytes_at_until(\n self,\n range: Range<u64>,\n delimiter: u8,\n) -> Result<&'a [u8], ()>

Get a reference to a delimited u8 slice which starts at range.start. Read more
§

fn read_bytes(self, offset: &mut u64, size: u64) -> Result<&'a [u8], ()>

Get a reference to a u8 slice at the given offset, and update the offset. Read more
§

fn read<T>(self, offset: &mut u64) -> Result<&'a T, ()>
where\n T: Pod,

Get a reference to a Pod type at the given offset, and update the offset. Read more
§

fn read_at<T>(self, offset: u64) -> Result<&'a T, ()>
where\n T: Pod,

Get a reference to a Pod type at the given offset. Read more
§

fn read_slice<T>(self, offset: &mut u64, count: usize) -> Result<&'a [T], ()>
where\n T: Pod,

Get a reference to a slice of a Pod type at the given offset, and update the offset. Read more
§

fn read_slice_at<T>(self, offset: u64, count: usize) -> Result<&'a [T], ()>
where\n T: Pod,

Get a reference to a slice of a Pod type at the given offset. Read more
","ReadRef<'a>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> RefToOwned<'a> for &'a [u8]

§

type Owned = Box<[u8]>

The resulting type after obtaining ownership.
§

fn ref_to_owned(&self) -> <&'a [u8] as RefToOwned<'a>>::Owned

Creates a new object taking ownership of the data
","RefToOwned<'a>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> Replacer for &'a [u8]

§

fn replace_append(&mut self, caps: &Captures<'_>, dst: &mut Vec<u8>)

Appends possibly empty data to dst to replace the current match. Read more
§

fn no_expansion(&mut self) -> Option<Cow<'_, [u8]>>

Return a fixed unchanging replacement byte string. Read more
§

fn by_ref<'r>(&'r mut self) -> ReplacerRef<'r, Self>

Returns a type that implements Replacer, but that borrows and wraps\nthis Replacer. Read more
","Replacer","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> ScalarRef<'a> for &'a [u8]

§

type ScalarType = Vec<u8>

The corresponding [Scalar] type.
§

fn to_owned_scalar(&self) -> Vec<u8>

Convert the reference into an owned value.
","ScalarRef<'a>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, T> Slice<Range<usize>> for &'a [T]

§

fn slice(&self, range: Range<usize>) -> &'a [T]

Slices self according to the range argument
","Slice>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, T> Slice<RangeFrom<usize>> for &'a [T]

§

fn slice(&self, range: RangeFrom<usize>) -> &'a [T]

Slices self according to the range argument
","Slice>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, T> Slice<RangeFull> for &'a [T]

§

fn slice(&self, range: RangeFull) -> &'a [T]

Slices self according to the range argument
","Slice","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a, T> Slice<RangeTo<usize>> for &'a [T]

§

fn slice(&self, range: RangeTo<usize>) -> &'a [T]

Slices self according to the range argument
","Slice>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<T> SliceLen for &[T]

§

fn slice_len(&self) -> usize

Calculates the input length, as indicated by its name,\nand the name of the trait itself
","SliceLen","auth::common::HashedPassword","auth::common::Salt"],["
§

impl SplitByteSlice for &[u8]

§

unsafe fn split_at_unchecked(self, mid: usize) -> (&[u8], &[u8])

Splits the slice at the midpoint, possibly omitting bounds checks. Read more
§

fn split_at(self, mid: usize) -> Result<(Self, Self), Self>

Attempts to split self at the midpoint. Read more
","SplitByteSlice","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'i, T> Stream for &'i [T]
where\n T: Clone + Debug,

§

type Token = T

The smallest unit being parsed Read more
§

type Slice = &'i [T]

Sequence of Tokens Read more
§

type IterOffsets = Enumerate<Cloned<Iter<'i, T>>>

Iterate with the offset from the current location
§

type Checkpoint = Checkpoint<&'i [T], &'i [T]>

A parse location within the stream
§

fn iter_offsets(&self) -> <&'i [T] as Stream>::IterOffsets

Iterate with the offset from the current location
§

fn eof_offset(&self) -> usize

Returns the offset to the end of the input
§

fn next_token(&mut self) -> Option<<&'i [T] as Stream>::Token>

Split off the next token from the input
§

fn peek_token(&self) -> Option<<&'i [T] as Stream>::Token>

Split off the next token from the input
§

fn offset_for<P>(&self, predicate: P) -> Option<usize>
where\n P: Fn(<&'i [T] as Stream>::Token) -> bool,

Finds the offset of the next matching token
§

fn offset_at(&self, tokens: usize) -> Result<usize, Needed>

Get the offset for the number of tokens into the stream Read more
§

fn next_slice(&mut self, offset: usize) -> <&'i [T] as Stream>::Slice

Split off a slice of tokens from the input Read more
§

unsafe fn next_slice_unchecked(\n &mut self,\n offset: usize,\n) -> <&'i [T] as Stream>::Slice

Split off a slice of tokens from the input Read more
§

fn peek_slice(&self, offset: usize) -> <&'i [T] as Stream>::Slice

Split off a slice of tokens from the input
§

unsafe fn peek_slice_unchecked(\n &self,\n offset: usize,\n) -> <&'i [T] as Stream>::Slice

Split off a slice of tokens from the input Read more
§

fn checkpoint(&self) -> <&'i [T] as Stream>::Checkpoint

Save the current parse location within the stream
§

fn reset(&mut self, checkpoint: &<&'i [T] as Stream>::Checkpoint)

Revert the stream to a prior [Self::Checkpoint] Read more
§

fn raw(&self) -> &dyn Debug

👎Deprecated since 0.7.10: Replaced with Stream::trace
Deprecated for callers as of 0.7.10, instead call [Stream::trace]
§

fn trace(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Write out a single-line summary of the current parse location
§

fn finish(&mut self) -> Self::Slice

Advance to the end of the stream
§

fn peek_finish(&self) -> Self::Slice
where\n Self: Clone,

Advance to the end of the stream
","Stream","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<T> StreamIsPartial for &[T]

§

type PartialState = ()

Whether the stream is currently partial or complete
§

fn complete(&mut self) -> <&[T] as StreamIsPartial>::PartialState

Mark the stream is complete
§

fn restore_partial(&mut self, _state: <&[T] as StreamIsPartial>::PartialState)

Restore the stream back to its previous state
§

fn is_partial_supported() -> bool

Report whether the [Stream] is can ever be incomplete
§

fn is_partial(&self) -> bool

Report whether the [Stream] is currently incomplete
","StreamIsPartial","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<T> ToSql for &[T]
where\n T: ToSql,

§

fn to_sql(\n &self,\n ty: &Type,\n w: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Converts the value of self into the binary format of the specified\nPostgres Type, appending it to out. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified\nPostgres Type.
§

fn to_sql_checked(\n &self,\n ty: &Type,\n out: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
","ToSql","auth::common::HashedPassword","auth::common::Salt"],["
§

impl ToSql for &[u8]

§

fn to_sql(\n &self,\n _: &Type,\n w: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Converts the value of self into the binary format of the specified\nPostgres Type, appending it to out. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified\nPostgres Type.
§

fn to_sql_checked(\n &self,\n ty: &Type,\n out: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
","ToSql","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'a> TryFrom<BitStringRef<'a>> for &'a [u8]

§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(bit_string: BitStringRef<'a>) -> Result<&'a [u8], Error>

Performs the conversion.
","TryFrom>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<T> UpdateSlice for &[T]
where\n T: Clone + Debug,

§

fn update_slice(self, inner: <&[T] as Stream>::Slice) -> &[T]

Convert an Output type to be used as Stream
","UpdateSlice","auth::common::HashedPassword","auth::common::Salt"],["
§

impl<'zf, T> ZeroFrom<'zf, [T]> for &'zf [T]

§

fn zero_from(other: &'zf [T]) -> &'zf [T]

Clone the other C into a struct that may retain references into C.
","ZeroFrom<'zf, [T]>","auth::common::HashedPassword","auth::common::Salt"],["
§

impl ByteSlice for &[u8]

","ByteSlice","auth::common::HashedPassword","auth::common::Salt"],["
§

impl CloneableByteSlice for &[u8]

","CloneableByteSlice","auth::common::HashedPassword","auth::common::Salt"],["
§

impl CopyableByteSlice for &[u8]

","CopyableByteSlice","auth::common::HashedPassword","auth::common::Salt"]]],["index",[["
§

impl Adler32Hash for &[u8]

§

fn hash(&self) -> u32

Feeds this value into Adler32.
","Adler32Hash","index::BytesRef"],["
§

impl Arg for &[u8]

§

fn as_str(&self) -> Result<&str, Errno>

Returns a view of this string as a string slice.
§

fn to_string_lossy(&self) -> Cow<'_, str>

Returns a potentially-lossy rendering of this string as a\nCow<'_, str>.
§

fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

Returns a view of this string as a maybe-owned CStr.
§

fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
where\n &[u8]: 'b,

Consumes self and returns a view of this string as a maybe-owned\nCStr.
§

fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
where\n &[u8]: Sized,\n F: FnOnce(&CStr) -> Result<T, Errno>,

Runs a closure with self passed in as a &CStr.
","Arg","index::BytesRef"],["
§

impl Arg for &[u8]

§

fn as_str(&self) -> Result<&str, Errno>

Returns a view of this string as a string slice.
§

fn to_string_lossy(&self) -> Cow<'_, str>

Returns a potentially-lossy rendering of this string as a\nCow<'_, str>.
§

fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

Returns a view of this string as a maybe-owned CStr.
§

fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
where\n &[u8]: 'b,

Consumes self and returns a view of this string as a maybe-owned\nCStr.
§

fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
where\n &[u8]: Sized,\n F: FnOnce(&CStr) -> Result<T, Errno>,

Runs a closure with self passed in as a &CStr.
","Arg","index::BytesRef"],["
§

impl AsBStr for &[u8]

§

fn as_bstr(&self) -> &[u8]

Casts the input type to a byte slice
","AsBStr","index::BytesRef"],["
§

impl AsBytes for &[u8]

§

fn as_bytes(&self) -> &[u8]

Casts the input type to a byte slice
","AsBytes","index::BytesRef"],["
§

impl<'a> AsBytes for &'a [u8]

§

fn as_bytes(&self) -> &[u8]

Casts the input type to a byte slice
","AsBytes","index::BytesRef"],["
§

impl<'a> AsBytes for &'a [u8]

§

fn as_bytes(&self) -> &[u8]

Casts the input type to a byte slice
","AsBytes","index::BytesRef"],["
§

impl<T> AsRef<ZeroSlice<T>> for &[<T as AsULE>::ULE]
where\n T: AsULE,

§

fn as_ref(&self) -> &ZeroSlice<T>

Converts this type into a shared reference of the (usually inferred) input type.
","AsRef>","index::BytesRef"],["
§

impl AsyncBufRead for &[u8]

§

fn poll_fill_buf(\n self: Pin<&mut &[u8]>,\n _: &mut Context<'_>,\n) -> Poll<Result<&[u8], Error>>

Attempt to return the contents of the internal buffer, filling it with more data\nfrom the inner reader if it is empty. Read more
§

fn consume(self: Pin<&mut &[u8]>, amt: usize)

Tells this buffer that amt bytes have been consumed from the buffer,\nso they should no longer be returned in calls to poll_read. Read more
","AsyncBufRead","index::BytesRef"],["
§

impl AsyncBufRead for &[u8]

§

fn poll_fill_buf(\n self: Pin<&mut &[u8]>,\n _cx: &mut Context<'_>,\n) -> Poll<Result<&[u8], Error>>

Attempts to return the contents of the internal buffer, filling it with more data\nfrom the inner reader if it is empty. Read more
§

fn consume(self: Pin<&mut &[u8]>, amt: usize)

Tells this buffer that amt bytes have been consumed from the buffer,\nso they should no longer be returned in calls to poll_read. Read more
","AsyncBufRead","index::BytesRef"],["
§

impl AsyncRead for &[u8]

§

fn poll_read(\n self: Pin<&mut &[u8]>,\n _: &mut Context<'_>,\n buf: &mut [u8],\n) -> Poll<Result<usize, Error>>

Attempt to read from the AsyncRead into buf. Read more
§

fn poll_read_vectored(\n self: Pin<&mut &[u8]>,\n _: &mut Context<'_>,\n bufs: &mut [IoSliceMut<'_>],\n) -> Poll<Result<usize, Error>>

Attempt to read from the AsyncRead into bufs using vectored\nIO operations. Read more
","AsyncRead","index::BytesRef"],["
§

impl AsyncRead for &[u8]

§

fn poll_read(\n self: Pin<&mut &[u8]>,\n _cx: &mut Context<'_>,\n buf: &mut ReadBuf<'_>,\n) -> Poll<Result<(), Error>>

Attempts to read from the AsyncRead into buf. Read more
","AsyncRead","index::BytesRef"],["
§

impl Buf for &[u8]

§

fn remaining(&self) -> usize

Returns the number of bytes between the current position and the end of\nthe buffer. Read more
§

fn chunk(&self) -> &[u8]

Returns a slice starting at the current position and of length between 0\nand Buf::remaining(). Note that this can return a shorter slice (this\nallows non-continuous internal representation). Read more
§

fn advance(&mut self, cnt: usize)

Advance the internal cursor of the Buf Read more
§

fn copy_to_slice(&mut self, dst: &mut [u8])

Copies bytes from self into dst. Read more
§

fn chunks_vectored<'a>(&'a self, dst: &mut [IoSlice<'a>]) -> usize

Fills dst with potentially multiple slices starting at self’s\ncurrent position. Read more
§

fn has_remaining(&self) -> bool

Returns true if there are any more bytes to consume Read more
§

fn get_u8(&mut self) -> u8

Gets an unsigned 8 bit integer from self. Read more
§

fn get_i8(&mut self) -> i8

Gets a signed 8 bit integer from self. Read more
§

fn get_u16(&mut self) -> u16

Gets an unsigned 16 bit integer from self in big-endian byte order. Read more
§

fn get_u16_le(&mut self) -> u16

Gets an unsigned 16 bit integer from self in little-endian byte order. Read more
§

fn get_u16_ne(&mut self) -> u16

Gets an unsigned 16 bit integer from self in native-endian byte order. Read more
§

fn get_i16(&mut self) -> i16

Gets a signed 16 bit integer from self in big-endian byte order. Read more
§

fn get_i16_le(&mut self) -> i16

Gets a signed 16 bit integer from self in little-endian byte order. Read more
§

fn get_i16_ne(&mut self) -> i16

Gets a signed 16 bit integer from self in native-endian byte order. Read more
§

fn get_u32(&mut self) -> u32

Gets an unsigned 32 bit integer from self in the big-endian byte order. Read more
§

fn get_u32_le(&mut self) -> u32

Gets an unsigned 32 bit integer from self in the little-endian byte order. Read more
§

fn get_u32_ne(&mut self) -> u32

Gets an unsigned 32 bit integer from self in native-endian byte order. Read more
§

fn get_i32(&mut self) -> i32

Gets a signed 32 bit integer from self in big-endian byte order. Read more
§

fn get_i32_le(&mut self) -> i32

Gets a signed 32 bit integer from self in little-endian byte order. Read more
§

fn get_i32_ne(&mut self) -> i32

Gets a signed 32 bit integer from self in native-endian byte order. Read more
§

fn get_u64(&mut self) -> u64

Gets an unsigned 64 bit integer from self in big-endian byte order. Read more
§

fn get_u64_le(&mut self) -> u64

Gets an unsigned 64 bit integer from self in little-endian byte order. Read more
§

fn get_u64_ne(&mut self) -> u64

Gets an unsigned 64 bit integer from self in native-endian byte order. Read more
§

fn get_i64(&mut self) -> i64

Gets a signed 64 bit integer from self in big-endian byte order. Read more
§

fn get_i64_le(&mut self) -> i64

Gets a signed 64 bit integer from self in little-endian byte order. Read more
§

fn get_i64_ne(&mut self) -> i64

Gets a signed 64 bit integer from self in native-endian byte order. Read more
§

fn get_u128(&mut self) -> u128

Gets an unsigned 128 bit integer from self in big-endian byte order. Read more
§

fn get_u128_le(&mut self) -> u128

Gets an unsigned 128 bit integer from self in little-endian byte order. Read more
§

fn get_u128_ne(&mut self) -> u128

Gets an unsigned 128 bit integer from self in native-endian byte order. Read more
§

fn get_i128(&mut self) -> i128

Gets a signed 128 bit integer from self in big-endian byte order. Read more
§

fn get_i128_le(&mut self) -> i128

Gets a signed 128 bit integer from self in little-endian byte order. Read more
§

fn get_i128_ne(&mut self) -> i128

Gets a signed 128 bit integer from self in native-endian byte order. Read more
§

fn get_uint(&mut self, nbytes: usize) -> u64

Gets an unsigned n-byte integer from self in big-endian byte order. Read more
§

fn get_uint_le(&mut self, nbytes: usize) -> u64

Gets an unsigned n-byte integer from self in little-endian byte order. Read more
§

fn get_uint_ne(&mut self, nbytes: usize) -> u64

Gets an unsigned n-byte integer from self in native-endian byte order. Read more
§

fn get_int(&mut self, nbytes: usize) -> i64

Gets a signed n-byte integer from self in big-endian byte order. Read more
§

fn get_int_le(&mut self, nbytes: usize) -> i64

Gets a signed n-byte integer from self in little-endian byte order. Read more
§

fn get_int_ne(&mut self, nbytes: usize) -> i64

Gets a signed n-byte integer from self in native-endian byte order. Read more
§

fn get_f32(&mut self) -> f32

Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in big-endian byte order. Read more
§

fn get_f32_le(&mut self) -> f32

Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in little-endian byte order. Read more
§

fn get_f32_ne(&mut self) -> f32

Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in native-endian byte order. Read more
§

fn get_f64(&mut self) -> f64

Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in big-endian byte order. Read more
§

fn get_f64_le(&mut self) -> f64

Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in little-endian byte order. Read more
§

fn get_f64_ne(&mut self) -> f64

Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in native-endian byte order. Read more
§

fn try_copy_to_slice(&mut self, dst: &mut [u8]) -> Result<(), TryGetError>

Copies bytes from self into dst. Read more
§

fn try_get_u8(&mut self) -> Result<u8, TryGetError>

Gets an unsigned 8 bit integer from self. Read more
§

fn try_get_i8(&mut self) -> Result<i8, TryGetError>

Gets a signed 8 bit integer from self. Read more
§

fn try_get_u16(&mut self) -> Result<u16, TryGetError>

Gets an unsigned 16 bit integer from self in big-endian byte order. Read more
§

fn try_get_u16_le(&mut self) -> Result<u16, TryGetError>

Gets an unsigned 16 bit integer from self in little-endian byte order. Read more
§

fn try_get_u16_ne(&mut self) -> Result<u16, TryGetError>

Gets an unsigned 16 bit integer from self in native-endian byte order. Read more
§

fn try_get_i16(&mut self) -> Result<i16, TryGetError>

Gets a signed 16 bit integer from self in big-endian byte order. Read more
§

fn try_get_i16_le(&mut self) -> Result<i16, TryGetError>

Gets an signed 16 bit integer from self in little-endian byte order. Read more
§

fn try_get_i16_ne(&mut self) -> Result<i16, TryGetError>

Gets a signed 16 bit integer from self in native-endian byte order. Read more
§

fn try_get_u32(&mut self) -> Result<u32, TryGetError>

Gets an unsigned 32 bit integer from self in big-endian byte order. Read more
§

fn try_get_u32_le(&mut self) -> Result<u32, TryGetError>

Gets an unsigned 32 bit integer from self in little-endian byte order. Read more
§

fn try_get_u32_ne(&mut self) -> Result<u32, TryGetError>

Gets an unsigned 32 bit integer from self in native-endian byte order. Read more
§

fn try_get_i32(&mut self) -> Result<i32, TryGetError>

Gets a signed 32 bit integer from self in big-endian byte order. Read more
§

fn try_get_i32_le(&mut self) -> Result<i32, TryGetError>

Gets a signed 32 bit integer from self in little-endian byte order. Read more
§

fn try_get_i32_ne(&mut self) -> Result<i32, TryGetError>

Gets a signed 32 bit integer from self in native-endian byte order. Read more
§

fn try_get_u64(&mut self) -> Result<u64, TryGetError>

Gets an unsigned 64 bit integer from self in big-endian byte order. Read more
§

fn try_get_u64_le(&mut self) -> Result<u64, TryGetError>

Gets an unsigned 64 bit integer from self in little-endian byte order. Read more
§

fn try_get_u64_ne(&mut self) -> Result<u64, TryGetError>

Gets an unsigned 64 bit integer from self in native-endian byte order. Read more
§

fn try_get_i64(&mut self) -> Result<i64, TryGetError>

Gets a signed 64 bit integer from self in big-endian byte order. Read more
§

fn try_get_i64_le(&mut self) -> Result<i64, TryGetError>

Gets a signed 64 bit integer from self in little-endian byte order. Read more
§

fn try_get_i64_ne(&mut self) -> Result<i64, TryGetError>

Gets a signed 64 bit integer from self in native-endian byte order. Read more
§

fn try_get_u128(&mut self) -> Result<u128, TryGetError>

Gets an unsigned 128 bit integer from self in big-endian byte order. Read more
§

fn try_get_u128_le(&mut self) -> Result<u128, TryGetError>

Gets an unsigned 128 bit integer from self in little-endian byte order. Read more
§

fn try_get_u128_ne(&mut self) -> Result<u128, TryGetError>

Gets an unsigned 128 bit integer from self in native-endian byte order. Read more
§

fn try_get_i128(&mut self) -> Result<i128, TryGetError>

Gets a signed 128 bit integer from self in big-endian byte order. Read more
§

fn try_get_i128_le(&mut self) -> Result<i128, TryGetError>

Gets a signed 128 bit integer from self in little-endian byte order. Read more
§

fn try_get_i128_ne(&mut self) -> Result<i128, TryGetError>

Gets a signed 128 bit integer from self in native-endian byte order. Read more
§

fn try_get_uint(&mut self, nbytes: usize) -> Result<u64, TryGetError>

Gets an unsigned n-byte integer from self in big-endian byte order. Read more
§

fn try_get_uint_le(&mut self, nbytes: usize) -> Result<u64, TryGetError>

Gets an unsigned n-byte integer from self in little-endian byte order. Read more
§

fn try_get_uint_ne(&mut self, nbytes: usize) -> Result<u64, TryGetError>

Gets an unsigned n-byte integer from self in native-endian byte order. Read more
§

fn try_get_int(&mut self, nbytes: usize) -> Result<i64, TryGetError>

Gets a signed n-byte integer from self in big-endian byte order. Read more
§

fn try_get_int_le(&mut self, nbytes: usize) -> Result<i64, TryGetError>

Gets a signed n-byte integer from self in little-endian byte order. Read more
§

fn try_get_int_ne(&mut self, nbytes: usize) -> Result<i64, TryGetError>

Gets a signed n-byte integer from self in native-endian byte order. Read more
§

fn try_get_f32(&mut self) -> Result<f32, TryGetError>

Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in big-endian byte order. Read more
§

fn try_get_f32_le(&mut self) -> Result<f32, TryGetError>

Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in little-endian byte order. Read more
§

fn try_get_f32_ne(&mut self) -> Result<f32, TryGetError>

Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in native-endian byte order. Read more
§

fn try_get_f64(&mut self) -> Result<f64, TryGetError>

Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in big-endian byte order. Read more
§

fn try_get_f64_le(&mut self) -> Result<f64, TryGetError>

Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in little-endian byte order. Read more
§

fn try_get_f64_ne(&mut self) -> Result<f64, TryGetError>

Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in native-endian byte order. Read more
§

fn copy_to_bytes(&mut self, len: usize) -> Bytes

Consumes len bytes inside self and returns new instance of Bytes\nwith this data. Read more
§

fn take(self, limit: usize) -> Take<Self>
where\n Self: Sized,

Creates an adaptor which will read at most limit bytes from self. Read more
§

fn chain<U>(self, next: U) -> Chain<Self, U>
where\n U: Buf,\n Self: Sized,

Creates an adaptor which will chain this buffer with another. Read more
§

fn reader(self) -> Reader<Self>
where\n Self: Sized,

Creates an adaptor which implements the Read trait for self. Read more
","Buf","index::BytesRef"],["
1.0.0 · Source§

impl BufRead for &[u8]

Source§

fn fill_buf(&mut self) -> Result<&[u8], Error>

Returns the contents of the internal buffer, filling it with more data, via Read methods, if empty. Read more
Source§

fn consume(&mut self, amt: usize)

Marks the given amount of additional bytes from the internal buffer as having been read.\nSubsequent calls to read only return bytes that have not been marked as read. Read more
Source§

fn has_data_left(&mut self) -> Result<bool, Error>

🔬This is a nightly-only experimental API. (buf_read_has_data_left)
Checks if there is any data left to be read. Read more
1.0.0 · Source§

fn read_until(&mut self, byte: u8, buf: &mut Vec<u8>) -> Result<usize, Error>

Reads all bytes into buf until the delimiter byte or EOF is reached. Read more
1.83.0 · Source§

fn skip_until(&mut self, byte: u8) -> Result<usize, Error>

Skips all bytes until the delimiter byte or EOF is reached. Read more
1.0.0 · Source§

fn read_line(&mut self, buf: &mut String) -> Result<usize, Error>

Reads all bytes until a newline (the 0xA byte) is reached, and append\nthem to the provided String buffer. Read more
1.0.0 · Source§

fn split(self, byte: u8) -> Split<Self>
where\n Self: Sized,

Returns an iterator over the contents of this reader split on the byte\nbyte. Read more
1.0.0 · Source§

fn lines(self) -> Lines<Self>
where\n Self: Sized,

Returns an iterator over the lines of this reader. Read more
","BufRead","index::BytesRef"],["
§

impl<'de> Buffer for &'de [u8]

§

fn empty_str() -> <&'de [u8] as Buffer>::BufferString

Based off of the empty function, allows override for optimization purposes.

\n
§

type BufferString = &'de str

A BufferString which will live at least as long as the Buffer itself. Read more
§

fn slice(&self, range: Range<usize>) -> Option<&'de [u8]>

This method returns an instance of type Self. This allows for lifetimes to be tracked\nin cases of deserialization. Read more
§

fn empty() -> &'de [u8]

Creates an empty instance of a Buffer. This is different than Default b/c it\nguarantees that the buffer instance will have length zero. Read more
§

fn buffer_str(&self) -> Result<<&'de [u8] as Buffer>::BufferString, Utf8Error>

Attempts to convert the given buffer to a custom string type. Read more
§

fn shallow_copy(&self) -> Self

Creates a shallow copy of the given buffer, similar to slice. Read more
","Buffer","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8]> for &'a [u8]

§

fn compare(&self, t: &'b [u8]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8]> for &'a [u8]

§

fn compare(&self, t: &'b [u8]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8]>","index::BytesRef"],["
§

impl<'b> Compare<&'b [u8]> for &[u8]

§

fn compare(&self, t: &'b [u8]) -> CompareResult

Compares self to another value for equality
","Compare<&'b [u8]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 0]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 0]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 0]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 0]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 1]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 1]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 1]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 1]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 10]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 10]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 10]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 10]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 11]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 11]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 11]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 11]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 12]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 12]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 12]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 12]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 13]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 13]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 13]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 13]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 14]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 14]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 14]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 14]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 15]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 15]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 15]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 15]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 16]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 16]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 16]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 16]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 17]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 17]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 17]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 17]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 18]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 18]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 18]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 18]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 19]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 19]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 19]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 19]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 2]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 2]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 2]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 2]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 20]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 20]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 20]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 20]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 21]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 21]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 21]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 21]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 22]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 22]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 22]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 22]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 23]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 23]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 23]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 23]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 24]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 24]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 24]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 24]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 25]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 25]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 25]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 25]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 26]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 26]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 26]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 26]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 27]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 27]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 27]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 27]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 28]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 28]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 28]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 28]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 29]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 29]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 29]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 29]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 3]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 3]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 3]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 3]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 30]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 30]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 30]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 30]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 31]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 31]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 31]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 31]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 32]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 32]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 32]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 32]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 4]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 4]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 4]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 4]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 5]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 5]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 5]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 5]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 6]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 6]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 6]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 6]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 7]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 7]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 7]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 7]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 8]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 8]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 8]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 8]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b [u8; 9]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; 9]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; 9]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; 9]>","index::BytesRef"],["
§

impl<'b, const LEN: usize> Compare<&'b [u8; LEN]> for &[u8]

§

fn compare(&self, t: &'b [u8; LEN]) -> CompareResult

Compares self to another value for equality
","Compare<&'b [u8; LEN]>","index::BytesRef"],["
§

impl<'a, 'b, const N: usize> Compare<&'b [u8; N]> for &'a [u8]

§

fn compare(&self, t: &'b [u8; N]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b [u8; N]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b [u8; N]>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b str> for &'a [u8]

§

fn compare(&self, t: &'b str) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b str) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b str>","index::BytesRef"],["
§

impl<'a, 'b> Compare<&'b str> for &'a [u8]

§

fn compare(&self, t: &'b str) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: &'b str) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<&'b str>","index::BytesRef"],["
§

impl<'b> Compare<&'b str> for &[u8]

§

fn compare(&self, t: &'b str) -> CompareResult

Compares self to another value for equality
","Compare<&'b str>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 0]> for &'a [u8]

§

fn compare(&self, t: [u8; 0]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 0]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 0]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 1]> for &'a [u8]

§

fn compare(&self, t: [u8; 1]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 1]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 1]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 10]> for &'a [u8]

§

fn compare(&self, t: [u8; 10]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 10]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 10]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 11]> for &'a [u8]

§

fn compare(&self, t: [u8; 11]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 11]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 11]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 12]> for &'a [u8]

§

fn compare(&self, t: [u8; 12]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 12]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 12]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 13]> for &'a [u8]

§

fn compare(&self, t: [u8; 13]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 13]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 13]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 14]> for &'a [u8]

§

fn compare(&self, t: [u8; 14]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 14]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 14]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 15]> for &'a [u8]

§

fn compare(&self, t: [u8; 15]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 15]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 15]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 16]> for &'a [u8]

§

fn compare(&self, t: [u8; 16]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 16]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 16]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 17]> for &'a [u8]

§

fn compare(&self, t: [u8; 17]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 17]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 17]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 18]> for &'a [u8]

§

fn compare(&self, t: [u8; 18]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 18]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 18]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 19]> for &'a [u8]

§

fn compare(&self, t: [u8; 19]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 19]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 19]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 2]> for &'a [u8]

§

fn compare(&self, t: [u8; 2]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 2]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 2]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 20]> for &'a [u8]

§

fn compare(&self, t: [u8; 20]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 20]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 20]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 21]> for &'a [u8]

§

fn compare(&self, t: [u8; 21]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 21]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 21]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 22]> for &'a [u8]

§

fn compare(&self, t: [u8; 22]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 22]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 22]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 23]> for &'a [u8]

§

fn compare(&self, t: [u8; 23]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 23]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 23]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 24]> for &'a [u8]

§

fn compare(&self, t: [u8; 24]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 24]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 24]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 25]> for &'a [u8]

§

fn compare(&self, t: [u8; 25]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 25]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 25]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 26]> for &'a [u8]

§

fn compare(&self, t: [u8; 26]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 26]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 26]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 27]> for &'a [u8]

§

fn compare(&self, t: [u8; 27]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 27]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 27]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 28]> for &'a [u8]

§

fn compare(&self, t: [u8; 28]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 28]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 28]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 29]> for &'a [u8]

§

fn compare(&self, t: [u8; 29]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 29]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 29]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 3]> for &'a [u8]

§

fn compare(&self, t: [u8; 3]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 3]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 3]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 30]> for &'a [u8]

§

fn compare(&self, t: [u8; 30]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 30]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 30]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 31]> for &'a [u8]

§

fn compare(&self, t: [u8; 31]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 31]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 31]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 32]> for &'a [u8]

§

fn compare(&self, t: [u8; 32]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 32]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 32]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 4]> for &'a [u8]

§

fn compare(&self, t: [u8; 4]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 4]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 4]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 5]> for &'a [u8]

§

fn compare(&self, t: [u8; 5]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 5]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 5]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 6]> for &'a [u8]

§

fn compare(&self, t: [u8; 6]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 6]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 6]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 7]> for &'a [u8]

§

fn compare(&self, t: [u8; 7]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 7]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 7]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 8]> for &'a [u8]

§

fn compare(&self, t: [u8; 8]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 8]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 8]>","index::BytesRef"],["
§

impl<'a> Compare<[u8; 9]> for &'a [u8]

§

fn compare(&self, t: [u8; 9]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; 9]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; 9]>","index::BytesRef"],["
§

impl<const LEN: usize> Compare<[u8; LEN]> for &[u8]

§

fn compare(&self, t: [u8; LEN]) -> CompareResult

Compares self to another value for equality
","Compare<[u8; LEN]>","index::BytesRef"],["
§

impl<'a, const N: usize> Compare<[u8; N]> for &'a [u8]

§

fn compare(&self, t: [u8; N]) -> CompareResult

Compares self to another value for equality
§

fn compare_no_case(&self, t: [u8; N]) -> CompareResult

Compares self to another value for equality\nindependently of the case. Read more
","Compare<[u8; N]>","index::BytesRef"],["
§

impl<'b> Compare<Caseless<&'b [u8]>> for &[u8]

§

fn compare(&self, t: Caseless<&'b [u8]>) -> CompareResult

Compares self to another value for equality
","Compare>","index::BytesRef"],["
§

impl<'b, const LEN: usize> Compare<Caseless<&'b [u8; LEN]>> for &[u8]

§

fn compare(&self, t: Caseless<&'b [u8; LEN]>) -> CompareResult

Compares self to another value for equality
","Compare>","index::BytesRef"],["
§

impl<'b> Compare<Caseless<&'b str>> for &[u8]

§

fn compare(&self, t: Caseless<&'b str>) -> CompareResult

Compares self to another value for equality
","Compare>","index::BytesRef"],["
§

impl<const LEN: usize> Compare<Caseless<[u8; LEN]>> for &[u8]

§

fn compare(&self, t: Caseless<[u8; LEN]>) -> CompareResult

Compares self to another value for equality
","Compare>","index::BytesRef"],["
§

impl Compare<Caseless<char>> for &[u8]

§

fn compare(&self, t: Caseless<char>) -> CompareResult

Compares self to another value for equality
","Compare>","index::BytesRef"],["
§

impl Compare<Caseless<u8>> for &[u8]

§

fn compare(&self, t: Caseless<u8>) -> CompareResult

Compares self to another value for equality
","Compare>","index::BytesRef"],["
§

impl Compare<char> for &[u8]

§

fn compare(&self, t: char) -> CompareResult

Compares self to another value for equality
","Compare","index::BytesRef"],["
§

impl Compare<u8> for &[u8]

§

fn compare(&self, t: u8) -> CompareResult

Compares self to another value for equality
","Compare","index::BytesRef"],["
§

impl<C> ContainsToken<C> for &[u8]
where\n C: AsChar,

§

fn contains_token(&self, token: C) -> bool

Returns true if self contains the token
","ContainsToken","index::BytesRef"],["
§

impl<'r> Decode<'r, Any> for &'r [u8]

§

fn decode(\n value: <Any as Database>::ValueRef<'r>,\n) -> Result<&'r [u8], Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
","Decode<'r, Any>","index::BytesRef"],["
§

impl<'r> Decode<'r, MySql> for &'r [u8]

§

fn decode(\n value: MySqlValueRef<'r>,\n) -> Result<&'r [u8], Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
","Decode<'r, MySql>","index::BytesRef"],["
§

impl<'r> Decode<'r, Postgres> for &'r [u8]

§

fn decode(\n value: PgValueRef<'r>,\n) -> Result<&'r [u8], Box<dyn Error + Sync + Send>>

Decode a new value of this type using a raw value from the database.
","Decode<'r, Postgres>","index::BytesRef"],["
1.0.0 (const: unstable) · Source§

impl<T> Default for &[T]

Source§

fn default() -> &[T]

Creates an empty slice.

\n
","Default","index::BytesRef"],["
Source§

impl<'de, 'a> Deserialize<'de> for &'a [u8]
where\n 'de: 'a,

Source§

fn deserialize<D>(\n deserializer: D,\n) -> Result<&'a [u8], <D as Deserializer<'de>>::Error>
where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","index::BytesRef"],["
§

impl<T> DeserializeFrom<T> for &[u8]
where\n T: BinarySerializable,

Implement deserialize from &u8 for all types which implement BinarySerializable.

\n

TryFrom would actually be preferable, but not possible because of the orphan\nrules (not completely sure if this could be resolved)

\n
§

fn deserialize(&mut self) -> Result<T, Error>

","DeserializeFrom","index::BytesRef"],["
§

impl Encode<'_, MySql> for &[u8]

§

fn encode_by_ref(\n &self,\n buf: &mut Vec<u8>,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
§

fn encode(\n self,\n buf: &mut <DB as Database>::ArgumentBuffer<'q>,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where\n Self: Sized,

Writes the value of self into buf in the expected format for the database.
§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

§

fn size_hint(&self) -> usize

","Encode<'_, MySql>","index::BytesRef"],["
§

impl Encode<'_, Postgres> for &[u8]

§

fn encode_by_ref(\n &self,\n buf: &mut PgArgumentBuffer,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
§

fn encode(\n self,\n buf: &mut <DB as Database>::ArgumentBuffer<'q>,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where\n Self: Sized,

Writes the value of self into buf in the expected format for the database.
§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

§

fn size_hint(&self) -> usize

","Encode<'_, Postgres>","index::BytesRef"],["
§

impl<'q> Encode<'q, Any> for &'q [u8]

§

fn encode_by_ref(\n &self,\n buf: &mut <Any as Database>::ArgumentBuffer<'q>,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
§

fn encode(\n self,\n buf: &mut <DB as Database>::ArgumentBuffer<'q>,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where\n Self: Sized,

Writes the value of self into buf in the expected format for the database.
§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

§

fn size_hint(&self) -> usize

","Encode<'q, Any>","index::BytesRef"],["
§

impl<'q, T> Encode<'q, Postgres> for &[T]
where\n T: Encode<'q, Postgres> + Type<Postgres>,

§

fn encode_by_ref(\n &self,\n buf: &mut PgArgumentBuffer,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Writes the value of self into buf without moving self. Read more
§

fn encode(\n self,\n buf: &mut <DB as Database>::ArgumentBuffer<'q>,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>
where\n Self: Sized,

Writes the value of self into buf in the expected format for the database.
§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

§

fn size_hint(&self) -> usize

","Encode<'q, Postgres>","index::BytesRef"],["
§

impl<T, E, F> EncodeAsVarULE<VarZeroSlice<T, F>> for &[E]
where\n T: VarULE + ?Sized,\n E: EncodeAsVarULE<T>,\n F: VarZeroVecFormat,

§

fn encode_var_ule_as_slices<R>(&self, _: impl FnOnce(&[&[u8]]) -> R) -> R

Calls cb with a piecewise list of byte slices that when concatenated\nproduce the memory pattern of the corresponding instance of T. Read more
§

fn encode_var_ule_len(&self) -> usize

Return the length, in bytes, of the corresponding [VarULE] type
§

fn encode_var_ule_write(&self, dst: &mut [u8])

Write the corresponding [VarULE] type to the dst buffer. dst should\nbe the size of [Self::encode_var_ule_len()]
","EncodeAsVarULE>","index::BytesRef"],["
§

impl<T> EncodeAsVarULE<ZeroSlice<T>> for &[T]
where\n T: AsULE + 'static,

§

fn encode_var_ule_as_slices<R>(&self, _: impl FnOnce(&[&[u8]]) -> R) -> R

Calls cb with a piecewise list of byte slices that when concatenated\nproduce the memory pattern of the corresponding instance of T. Read more
§

fn encode_var_ule_len(&self) -> usize

Return the length, in bytes, of the corresponding [VarULE] type
§

fn encode_var_ule_write(&self, dst: &mut [u8])

Write the corresponding [VarULE] type to the dst buffer. dst should\nbe the size of [Self::encode_var_ule_len()]
","EncodeAsVarULE>","index::BytesRef"],["
§

impl ExtendInto for &[u8]

§

type Item = u8

The current input type is a sequence of that Item type. Read more
§

type Extender = Vec<u8>

The type that will be produced
§

fn new_builder(&self) -> Vec<u8>

Create a new Extend of the correct type
§

fn extend_into(&self, acc: &mut Vec<u8>)

Accumulate the input into an accumulator
","ExtendInto","index::BytesRef"],["
§

impl ExtendInto for &[u8]

§

type Item = u8

The current input type is a sequence of that Item type. Read more
§

type Extender = Vec<u8>

The type that will be produced
§

fn new_builder(&self) -> Vec<u8>

Create a new Extend of the correct type
§

fn extend_into(&self, acc: &mut Vec<u8>)

Accumulate the input into an accumulator
","ExtendInto","index::BytesRef"],["
§

impl FileHandle for &'static [u8]

§

fn read_bytes(&self, range: Range<usize>) -> Result<OwnedBytes, Error>

Reads a slice of bytes. Read more
","FileHandle","index::BytesRef"],["
§

impl<'s> FindSlice<&'s [u8]> for &[u8]

§

fn find_slice(&self, substr: &'s [u8]) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<&'s [u8]>","index::BytesRef"],["
§

impl<'s> FindSlice<&'s str> for &[u8]

§

fn find_slice(&self, substr: &'s str) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<&'s str>","index::BytesRef"],["
§

impl<'s> FindSlice<(&'s [u8],)> for &[u8]

§

fn find_slice(&self, substr: (&'s [u8],)) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(&'s [u8],)>","index::BytesRef"],["
§

impl<'s> FindSlice<(&'s [u8], &'s [u8])> for &[u8]

§

fn find_slice(&self, substr: (&'s [u8], &'s [u8])) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(&'s [u8], &'s [u8])>","index::BytesRef"],["
§

impl<'s> FindSlice<(&'s [u8], &'s [u8], &'s [u8])> for &[u8]

§

fn find_slice(\n &self,\n substr: (&'s [u8], &'s [u8], &'s [u8]),\n) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(&'s [u8], &'s [u8], &'s [u8])>","index::BytesRef"],["
§

impl<'s> FindSlice<(&'s str,)> for &[u8]

§

fn find_slice(&self, substr: (&'s str,)) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(&'s str,)>","index::BytesRef"],["
§

impl<'s> FindSlice<(&'s str, &'s str)> for &[u8]

§

fn find_slice(&self, substr: (&'s str, &'s str)) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(&'s str, &'s str)>","index::BytesRef"],["
§

impl<'s> FindSlice<(&'s str, &'s str, &'s str)> for &[u8]

§

fn find_slice(\n &self,\n substr: (&'s str, &'s str, &'s str),\n) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(&'s str, &'s str, &'s str)>","index::BytesRef"],["
§

impl FindSlice<(char,)> for &[u8]

§

fn find_slice(&self, substr: (char,)) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(char,)>","index::BytesRef"],["
§

impl FindSlice<(char, char)> for &[u8]

§

fn find_slice(&self, substr: (char, char)) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(char, char)>","index::BytesRef"],["
§

impl FindSlice<(char, char, char)> for &[u8]

§

fn find_slice(&self, substr: (char, char, char)) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(char, char, char)>","index::BytesRef"],["
§

impl FindSlice<(u8,)> for &[u8]

§

fn find_slice(&self, substr: (u8,)) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(u8,)>","index::BytesRef"],["
§

impl FindSlice<(u8, u8)> for &[u8]

§

fn find_slice(&self, substr: (u8, u8)) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(u8, u8)>","index::BytesRef"],["
§

impl FindSlice<(u8, u8, u8)> for &[u8]

§

fn find_slice(&self, substr: (u8, u8, u8)) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice<(u8, u8, u8)>","index::BytesRef"],["
§

impl FindSlice<char> for &[u8]

§

fn find_slice(&self, substr: char) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice","index::BytesRef"],["
§

impl FindSlice<u8> for &[u8]

§

fn find_slice(&self, substr: u8) -> Option<Range<usize>>

Returns the offset of the slice if it is found
","FindSlice","index::BytesRef"],["
§

impl<'a, 'b> FindSubstring<&'b [u8]> for &'a [u8]

§

fn find_substring(&self, substr: &'b [u8]) -> Option<usize>

Returns the byte position of the substring if it is found
","FindSubstring<&'b [u8]>","index::BytesRef"],["
§

impl<'a, 'b> FindSubstring<&'b [u8]> for &'a [u8]

§

fn find_substring(&self, substr: &'b [u8]) -> Option<usize>

Returns the byte position of the substring if it is found
","FindSubstring<&'b [u8]>","index::BytesRef"],["
§

impl<'a, 'b> FindSubstring<&'b str> for &'a [u8]

§

fn find_substring(&self, substr: &'b str) -> Option<usize>

Returns the byte position of the substring if it is found
","FindSubstring<&'b str>","index::BytesRef"],["
§

impl<'a, 'b> FindSubstring<&'b str> for &'a [u8]

§

fn find_substring(&self, substr: &'b str) -> Option<usize>

Returns the byte position of the substring if it is found
","FindSubstring<&'b str>","index::BytesRef"],["
§

impl<'a, 'b> FindToken<&'a u8> for &'b [u8]

§

fn find_token(&self, token: &u8) -> bool

Returns true if self contains the token
","FindToken<&'a u8>","index::BytesRef"],["
§

impl<'a, 'b> FindToken<&'a u8> for &'b [u8]

§

fn find_token(&self, token: &u8) -> bool

Returns true if self contains the token
","FindToken<&'a u8>","index::BytesRef"],["
§

impl<'a> FindToken<char> for &'a [u8]

§

fn find_token(&self, token: char) -> bool

Returns true if self contains the token
","FindToken","index::BytesRef"],["
§

impl<'a> FindToken<char> for &'a [u8]

§

fn find_token(&self, token: char) -> bool

Returns true if self contains the token
","FindToken","index::BytesRef"],["
§

impl<'a> FindToken<u8> for &'a [u8]

§

fn find_token(&self, token: u8) -> bool

Returns true if self contains the token
","FindToken","index::BytesRef"],["
§

impl<'a> FindToken<u8> for &'a [u8]

§

fn find_token(&self, token: u8) -> bool

Returns true if self contains the token
","FindToken","index::BytesRef"],["
§

impl<'a> Follow<'a> for &'a [u8]

§

type Inner = &'a [u8]

§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <&'a [u8] as Follow<'a>>::Inner

Safety Read more
","Follow<'a>","index::BytesRef"],["
§

impl<'a> From<&'a BStr> for &'a [u8]

§

fn from(s: &'a BStr) -> &'a [u8]

Converts to this type from the input type.
","From<&'a BStr>","index::BytesRef"],["
§

impl<'a> From<&'a Bytes> for &'a [u8]

§

fn from(s: &'a Bytes) -> &'a [u8]

Converts to this type from the input type.
","From<&'a Bytes>","index::BytesRef"],["
Source§

impl<'a, T, R, C, S> From<&'a Matrix<T, R, C, S>> for &'a [T]
where\n T: Scalar + Copy,\n R: Dim,\n C: Dim,\n S: RawStorage<T, R, C> + IsContiguous,

Source§

fn from(matrix: &'a Matrix<T, R, C, S>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Matrix>","index::BytesRef"],["
§

impl<'h> From<Match<'h>> for &'h [u8]

§

fn from(m: Match<'h>) -> &'h [u8]

Converts to this type from the input type.
","From>","index::BytesRef"],["
Source§

impl<'a, T> From<Matrix<T, Dyn, Const<1>, ViewStorage<'a, T, Dyn, Const<1>, Const<1>, Dyn>>> for &'a [T]
where\n T: Scalar,

Source§

fn from(\n vec: Matrix<T, Dyn, Const<1>, ViewStorage<'a, T, Dyn, Const<1>, Const<1>, Dyn>>,\n) -> &'a [T]

Converts to this type from the input type.
","From, ViewStorage<'a, T, Dyn, Const<1>, Const<1>, Dyn>>>","index::BytesRef"],["
§

impl<'a> From<OctetStringRef<'a>> for &'a [u8]

§

fn from(octet_string: OctetStringRef<'a>) -> &'a [u8]

Converts to this type from the input type.
","From>","index::BytesRef"],["
§

impl<'a> From<VideotexStringRef<'a>> for &'a [u8]

§

fn from(printable_string: VideotexStringRef<'a>) -> &'a [u8]

Converts to this type from the input type.
","From>","index::BytesRef"],["
§

impl<'a> FromSql<'a> for &'a [u8]

§

fn from_sql(\n _: &Type,\n raw: &'a [u8],\n) -> Result<&'a [u8], Box<dyn Error + Sync + Send>>

Creates a new value of this type from a buffer of data of the specified\nPostgres Type in its binary format. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be created from the specified\nPostgres Type.
§

fn from_sql_null(ty: &Type) -> Result<Self, Box<dyn Error + Sync + Send>>

Creates a new value of this type from a NULL SQL value. Read more
§

fn from_sql_nullable(\n ty: &Type,\n raw: Option<&'a [u8]>,\n) -> Result<Self, Box<dyn Error + Sync + Send>>

A convenience function that delegates to from_sql and from_sql_null depending on the\nvalue of raw.
","FromSql<'a>","index::BytesRef"],["
§

impl<'a> Input for &'a [u8]

§

fn split_at_position_mode<OM, P, E>(\n &self,\n predicate: P,\n) -> Result<(&'a [u8], <<OM as OutputMode>::Output as Mode>::Output<&'a [u8]>), Err<E, <<OM as OutputMode>::Error as Mode>::Output<E>>>
where\n OM: OutputMode,\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as Input>::Item) -> bool,

mode version of split_at_position

\n
§

fn split_at_position_mode1<OM, P, E>(\n &self,\n predicate: P,\n e: ErrorKind,\n) -> Result<(&'a [u8], <<OM as OutputMode>::Output as Mode>::Output<&'a [u8]>), Err<E, <<OM as OutputMode>::Error as Mode>::Output<E>>>
where\n OM: OutputMode,\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as Input>::Item) -> bool,

mode version of split_at_position

\n
§

type Item = u8

The current input type is a sequence of that Item type. Read more
§

type Iter = Copied<Iter<'a, u8>>

An iterator over the input type, producing the item
§

type IterIndices = Enumerate<<&'a [u8] as Input>::Iter>

An iterator over the input type, producing the item and its byte position\nIf we’re iterating over &str, the position\ncorresponds to the byte index of the character
§

fn input_len(&self) -> usize

Calculates the input length, as indicated by its name,\nand the name of the trait itself
§

fn take(&self, index: usize) -> &'a [u8]

Returns a slice of index bytes. panics if index > length
§

fn take_from(&self, index: usize) -> &'a [u8]

Returns a slice starting at index bytes. panics if index > length
§

fn take_split(&self, index: usize) -> (&'a [u8], &'a [u8])

Split the stream at the index byte offset. panics if index > length
§

fn position<P>(&self, predicate: P) -> Option<usize>
where\n P: Fn(<&'a [u8] as Input>::Item) -> bool,

Returns the byte position of the first element satisfying the predicate
§

fn iter_elements(&self) -> <&'a [u8] as Input>::Iter

Returns an iterator over the elements
§

fn iter_indices(&self) -> <&'a [u8] as Input>::IterIndices

Returns an iterator over the elements and their byte offsets
§

fn slice_index(&self, count: usize) -> Result<usize, Needed>

Get the byte offset from the element’s position in the stream
§

fn split_at_position<P, E>(\n &self,\n predicate: P,\n) -> Result<(&'a [u8], &'a [u8]), Err<E>>
where\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as Input>::Item) -> bool,

Looks for the first element of the input type for which the condition returns true,\nand returns the input up to this position. Read more
§

fn split_at_position1<P, E>(\n &self,\n predicate: P,\n e: ErrorKind,\n) -> Result<(&'a [u8], &'a [u8]), Err<E>>
where\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as Input>::Item) -> bool,

Looks for the first element of the input type for which the condition returns true\nand returns the input up to this position. Read more
§

fn split_at_position_complete<P, E>(\n &self,\n predicate: P,\n) -> Result<(&'a [u8], &'a [u8]), Err<E>>
where\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as Input>::Item) -> bool,

Looks for the first element of the input type for which the condition returns true,\nand returns the input up to this position. Read more
§

fn split_at_position1_complete<P, E>(\n &self,\n predicate: P,\n e: ErrorKind,\n) -> Result<(&'a [u8], &'a [u8]), Err<E>>
where\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as Input>::Item) -> bool,

Looks for the first element of the input type for which the condition returns true\nand returns the input up to this position. Read more
","Input","index::BytesRef"],["
§

impl<'a> InputIter for &'a [u8]

§

type Item = u8

The current input type is a sequence of that Item type. Read more
§

type Iter = Enumerate<<&'a [u8] as InputIter>::IterElem>

An iterator over the input type, producing the item and its position\nfor use with [Slice]. If we’re iterating over &str, the position\ncorresponds to the byte index of the character
§

type IterElem = Copied<Iter<'a, u8>>

An iterator over the input type, producing the item
§

fn iter_indices(&self) -> <&'a [u8] as InputIter>::Iter

Returns an iterator over the elements and their byte offsets
§

fn iter_elements(&self) -> <&'a [u8] as InputIter>::IterElem

Returns an iterator over the elements
§

fn position<P>(&self, predicate: P) -> Option<usize>
where\n P: Fn(<&'a [u8] as InputIter>::Item) -> bool,

Finds the byte position of the element
§

fn slice_index(&self, count: usize) -> Result<usize, Needed>

Get the byte offset from the element’s position in the stream
","InputIter","index::BytesRef"],["
§

impl<'a, T> InputLength for &'a [T]

§

fn input_len(&self) -> usize

Calculates the input length, as indicated by its name,\nand the name of the trait itself
","InputLength","index::BytesRef"],["
§

impl<'a> InputTake for &'a [u8]

§

fn take(&self, count: usize) -> &'a [u8]

Returns a slice of count bytes. panics if count > length
§

fn take_split(&self, count: usize) -> (&'a [u8], &'a [u8])

Split the stream at the count byte offset. panics if count > length
","InputTake","index::BytesRef"],["
§

impl<'a> InputTakeAtPosition for &'a [u8]

§

type Item = u8

The current input type is a sequence of that Item type. Read more
§

fn split_at_position<P, E>(\n &self,\n predicate: P,\n) -> Result<(&'a [u8], &'a [u8]), Err<E>>
where\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as InputTakeAtPosition>::Item) -> bool,

Looks for the first element of the input type for which the condition returns true,\nand returns the input up to this position. Read more
§

fn split_at_position1<P, E>(\n &self,\n predicate: P,\n e: ErrorKind,\n) -> Result<(&'a [u8], &'a [u8]), Err<E>>
where\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as InputTakeAtPosition>::Item) -> bool,

Looks for the first element of the input type for which the condition returns true\nand returns the input up to this position. Read more
§

fn split_at_position_complete<P, E>(\n &self,\n predicate: P,\n) -> Result<(&'a [u8], &'a [u8]), Err<E>>
where\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as InputTakeAtPosition>::Item) -> bool,

Looks for the first element of the input type for which the condition returns true,\nand returns the input up to this position. Read more
§

fn split_at_position1_complete<P, E>(\n &self,\n predicate: P,\n e: ErrorKind,\n) -> Result<(&'a [u8], &'a [u8]), Err<E>>
where\n E: ParseError<&'a [u8]>,\n P: Fn(<&'a [u8] as InputTakeAtPosition>::Item) -> bool,

Looks for the first element of the input type for which the condition returns true\nand returns the input up to this position. Read more
","InputTakeAtPosition","index::BytesRef"],["
§

impl IntoArrayRef for &[u8]

§

fn into_array_ref(self) -> Arc<dyn Array>

","IntoArrayRef","index::BytesRef"],["
§

impl<'a> IntoByteSlice<'a> for &'a [u8]

§

fn into_byte_slice(self) -> &'a [u8]

Coverts self into a &[u8]. Read more
","IntoByteSlice<'a>","index::BytesRef"],["
Source§

impl<'de, 'a, E> IntoDeserializer<'de, E> for &'a [u8]
where\n E: Error,

Source§

type Deserializer = BytesDeserializer<'a, E>

The type of the deserializer being converted into.
Source§

fn into_deserializer(self) -> BytesDeserializer<'a, E>

Convert this value into a deserializer.
","IntoDeserializer<'de, E>","index::BytesRef"],["
1.0.0 · Source§

impl<'a, T> IntoIterator for &'a [T]

Source§

type Item = &'a T

The type of the elements being iterated over.
Source§

type IntoIter = Iter<'a, T>

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Iter<'a, T>

Creates an iterator from a value. Read more
","IntoIterator","index::BytesRef"],["
§

impl<'data, T> IntoParallelIterator for &'data [T]
where\n T: Sync + 'data,

§

type Item = &'data T

The type of item that the parallel iterator will produce.
§

type Iter = Iter<'data, T>

The parallel iterator type that will be created.
§

fn into_par_iter(self) -> <&'data [T] as IntoParallelIterator>::Iter

Converts self into a parallel iterator. Read more
","IntoParallelIterator","index::BytesRef"],["
§

impl IntoResponse for &'static [u8]

§

fn into_response(self) -> Response<Body>

Create a response.
","IntoResponse","index::BytesRef"],["
§

impl<'a> IntoSource for &'a [u8]

§

type Source = SliceSource<'a>

§

fn into_source(self) -> <&'a [u8] as IntoSource>::Source

","IntoSource","index::BytesRef"],["
§

impl Literal for &[u8]

§

fn lit(&self) -> Expr

convert the value to a Literal expression
","Literal","index::BytesRef"],["
§

impl<'a, T> Offset<<&'a [T] as Stream>::Checkpoint> for &'a [T]
where\n T: Clone + Debug,

§

fn offset_from(&self, other: &<&'a [T] as Stream>::Checkpoint) -> usize

Offset between the first byte of start and the first byte of selfa Read more
","Offset<<&'a [T] as Stream>::Checkpoint>","index::BytesRef"],["
§

impl<T> Offset for &[T]

§

fn offset_from(&self, start: &&[T]) -> usize

Offset between the first byte of start and the first byte of selfa Read more
","Offset","index::BytesRef"],["
§

impl<'a> Offset for &'a [u8]

§

fn offset(&self, second: &&'a [u8]) -> usize

Offset between the first byte of self and the first byte of the argument
","Offset","index::BytesRef"],["
§

impl<'a> Offset for &'a [u8]

§

fn offset(&self, second: &&'a [u8]) -> usize

Offset between the first byte of self and the first byte of the argument\nthe argument must be a part of self, otherwise this can fail with arithmetic\nunderflows as it compares byte offsets
","Offset","index::BytesRef"],["
§

impl<'b, P, T> OverlayResource<P, T> for &'b [P]
where\n P: FloatPointCompatible<T>,\n T: FloatNumber,

§

type ResourceIter<'a> = SingleResourceIterator<'a, P>\nwhere\n P: 'a,\n &'b [P]: 'a

§

fn iter_paths(&self) -> <&'b [P] as OverlayResource<P, T>>::ResourceIter<'b>

","OverlayResource","index::BytesRef"],["
§

impl<R> ParseSlice<R> for &[u8]
where\n R: FromStr,

§

fn parse_slice(&self) -> Option<R>

Succeeds if parse() succeeded Read more
","ParseSlice","index::BytesRef"],["
§

impl<'a, R> ParseTo<R> for &'a [u8]
where\n R: FromStr,

§

fn parse_to(&self) -> Option<R>

Succeeds if parse() succeeded. The byte slice implementation\nwill first convert it to a &str, then apply the parse() function
","ParseTo","index::BytesRef"],["
§

impl<'a, R> ParseTo<R> for &'a [u8]
where\n R: FromStr,

§

fn parse_to(&self) -> Option<R>

Succeeds if parse() succeeded. The byte slice implementation\nwill first convert it to a &str, then apply the parse() function
","ParseTo","index::BytesRef"],["
§

impl<'s, I, E> Parser<I, <I as Stream>::Slice, E> for &'s [u8]
where\n E: ParserError<I>,\n I: Compare<&'s [u8]> + StreamIsPartial + Stream,

This is a shortcut for [literal][crate::token::literal].

\n

§Example

\n
\nfn parser<'s>(s: &mut &'s [u8]) -> ModalResult<&'s [u8]> {\n  alt((&\"Hello\"[..], take(5usize))).parse_next(s)\n}\n\nassert_eq!(parser.parse_peek(&b\"Hello, World!\"[..]), Ok((&b\", World!\"[..], &b\"Hello\"[..])));\nassert_eq!(parser.parse_peek(&b\"Something\"[..]), Ok((&b\"hing\"[..], &b\"Somet\"[..])));\nassert!(parser.parse_peek(&b\"Some\"[..]).is_err());\nassert!(parser.parse_peek(&b\"\"[..]).is_err());
§

fn parse_next(&mut self, i: &mut I) -> Result<<I as Stream>::Slice, E>

Take tokens from the [Stream], turning it into the output Read more
§

fn parse(\n &mut self,\n input: I,\n) -> Result<O, ParseError<I, <E as ParserError<I>>::Inner>>
where\n Self: Sized,\n I: Stream + StreamIsPartial,\n E: ParserError<I>,\n <E as ParserError<I>>::Inner: ParserError<I>,

Parse all of input, generating O from it
§

fn parse_peek(&mut self, input: I) -> Result<(I, O), E>

Take tokens from the [Stream], turning it into the output Read more
§

fn by_ref(&mut self) -> ByRef<'_, Self, I, O, E>
where\n Self: Sized,

Treat &mut Self as a parser Read more
§

fn value<O2>(self, val: O2) -> Value<Self, I, O, O2, E>
where\n Self: Sized,\n O2: Clone,

Produce the provided value Read more
§

fn default_value<O2>(self) -> DefaultValue<Self, I, O, O2, E>
where\n Self: Sized,\n O2: Default,

Produce a type’s default value Read more
§

fn void(self) -> Void<Self, I, O, E>
where\n Self: Sized,

Discards the output of the Parser Read more
§

fn output_into<O2>(self) -> OutputInto<Self, I, O, O2, E>
where\n Self: Sized,\n O: Into<O2>,

Convert the parser’s output to another type using std::convert::From Read more
§

fn take(self) -> Take<Self, I, O, E>
where\n Self: Sized,\n I: Stream,

Produce the consumed input as produced value. Read more
§

fn with_taken(self) -> WithTaken<Self, I, O, E>
where\n Self: Sized,\n I: Stream,

Produce the consumed input with the output Read more
§

fn span(self) -> Span<Self, I, O, E>
where\n Self: Sized,\n I: Stream + Location,

Produce the location of the consumed input as produced value. Read more
§

fn with_span(self) -> WithSpan<Self, I, O, E>
where\n Self: Sized,\n I: Stream + Location,

Produce the location of consumed input with the output Read more
§

fn map<G, O2>(self, map: G) -> Map<Self, G, I, O, O2, E>
where\n G: FnMut(O) -> O2,\n Self: Sized,

Maps a function over the output of a parser Read more
§

fn try_map<G, O2, E2>(self, map: G) -> TryMap<Self, G, I, O, O2, E, E2>
where\n Self: Sized,\n G: FnMut(O) -> Result<O2, E2>,\n I: Stream,\n E: FromExternalError<I, E2> + ParserError<I>,

Applies a function returning a Result over the output of a parser. Read more
§

fn verify_map<G, O2>(self, map: G) -> VerifyMap<Self, G, I, O, O2, E>
where\n Self: Sized,\n G: FnMut(O) -> Option<O2>,\n I: Stream,\n E: ParserError<I>,

Apply both [Parser::verify] and [Parser::map]. Read more
§

fn flat_map<G, H, O2>(self, map: G) -> FlatMap<Self, G, H, I, O, O2, E>
where\n Self: Sized,\n G: FnMut(O) -> H,\n H: Parser<I, O2, E>,

Creates a parser from the output of this one Read more
§

fn and_then<G, O2>(self, inner: G) -> AndThen<Self, G, I, O, O2, E>
where\n Self: Sized,\n G: Parser<O, O2, E>,\n O: StreamIsPartial,\n I: Stream,

Applies a second parser over the output of the first one Read more
§

fn parse_to<O2>(self) -> ParseTo<Self, I, O, O2, E>
where\n Self: Sized,\n I: Stream,\n O: ParseSlice<O2>,\n E: ParserError<I>,

Apply std::str::FromStr to the output of the parser Read more
§

fn verify<G, O2>(self, filter: G) -> Verify<Self, G, I, O, O2, E>
where\n Self: Sized,\n G: FnMut(&O2) -> bool,\n I: Stream,\n O: Borrow<O2>,\n E: ParserError<I>,\n O2: ?Sized,

Returns the output of the child parser if it satisfies a verification function. Read more
§

fn context<C>(self, context: C) -> Context<Self, I, O, E, C>
where\n Self: Sized,\n I: Stream,\n E: AddContext<I, C> + ParserError<I>,\n C: Clone + Debug,

If parsing fails, add context to the error Read more
§

fn context_with<F, C, FI>(\n self,\n context: F,\n) -> ContextWith<Self, I, O, E, F, C, FI>
where\n Self: Sized,\n I: Stream,\n E: AddContext<I, C> + ParserError<I>,\n F: Fn() -> FI + Clone,\n C: Debug,\n FI: Iterator<Item = C>,

If parsing fails, dynamically add context to the error Read more
§

fn map_err<G, E2>(self, map: G) -> MapErr<Self, G, I, O, E, E2>
where\n G: FnMut(E) -> E2,\n Self: Sized,

Maps a function over the error of a parser Read more
§

fn complete_err(self) -> CompleteErr<Self, I, O, E>
where\n Self: Sized,

Transforms [Incomplete][crate::error::ErrMode::Incomplete] into [Backtrack][crate::error::ErrMode::Backtrack] Read more
§

fn err_into<E2>(self) -> ErrInto<Self, I, O, E, E2>
where\n Self: Sized,\n E: Into<E2>,

Convert the parser’s error to another type using std::convert::From
","Parser::Slice, E>","index::BytesRef"],["
1.0.0 (const: unstable) · Source§

impl<T, U, const N: usize> PartialEq<[U; N]> for &[T]
where\n T: PartialEq<U>,

Source§

fn eq(&self, other: &[U; N]) -> bool

Tests for self and other values to be equal, and is used by ==.
Source§

fn ne(&self, other: &[U; N]) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq<[U; N]>","index::BytesRef"],["
§

impl<'a> PartialEq<BStr> for &'a [u8]

§

fn eq(&self, other: &BStr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","index::BytesRef"],["
Source§

impl<'a> PartialEq<ByteStr> for &[u8]

Source§

fn eq(&self, other: &ByteStr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","index::BytesRef"],["
Source§

impl<'a> PartialEq<ByteString> for &[u8]

Source§

fn eq(&self, other: &ByteString) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","index::BytesRef"],["
§

impl PartialEq<Bytes> for &[u8]

§

fn eq(&self, other: &Bytes) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","index::BytesRef"],["
§

impl<'a> PartialEq<Bytes> for &'a [u8]

§

fn eq(&self, other: &Bytes) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","index::BytesRef"],["
§

impl PartialEq<BytesMut> for &[u8]

§

fn eq(&self, other: &BytesMut) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq","index::BytesRef"],["
§

impl<A, B, const N: usize> PartialEq<Vec<A, N>> for &[B]
where\n A: PartialEq<B>,

§

fn eq(&self, other: &Vec<A, N>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq>","index::BytesRef"],["
§

impl<T, U, A> PartialEq<Vec<U, A>> for &[T]
where\n A: Allocator,\n T: PartialEq<U>,

§

fn eq(&self, other: &Vec<U, A>) -> bool

Tests for self and other values to be equal, and is used by ==.
§

fn ne(&self, other: &Vec<U, A>) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq>","index::BytesRef"],["
1.46.0 · Source§

impl<T, U, A> PartialEq<Vec<U, A>> for &[T]
where\n A: Allocator,\n T: PartialEq<U>,

Source§

fn eq(&self, other: &Vec<U, A>) -> bool

Tests for self and other values to be equal, and is used by ==.
Source§

fn ne(&self, other: &Vec<U, A>) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq>","index::BytesRef"],["
§

impl<T> PartialEq<Vec1<T>> for &[T]
where\n T: PartialEq,

§

fn eq(&self, other: &Vec1<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq>","index::BytesRef"],["
§

impl<T> PartialEq<VecList<T>> for &[T]
where\n T: PartialEq,

§

fn eq(&self, other: &VecList<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq>","index::BytesRef"],["
§

impl<'a> PartialOrd<BStr> for &'a [u8]

§

fn partial_cmp(&self, other: &BStr) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the >\noperator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
","PartialOrd","index::BytesRef"],["
§

impl PartialOrd<Bytes> for &[u8]

§

fn partial_cmp(&self, other: &Bytes) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the >\noperator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
","PartialOrd","index::BytesRef"],["
§

impl<'a> PartialOrd<Bytes> for &'a [u8]

§

fn partial_cmp(&self, other: &Bytes) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the >\noperator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
","PartialOrd","index::BytesRef"],["
§

impl PartialOrd<BytesMut> for &[u8]

§

fn partial_cmp(&self, other: &BytesMut) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the >\noperator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
","PartialOrd","index::BytesRef"],["
§

impl PgHasArrayType for &[u8]

§

fn array_type_info() -> PgTypeInfo

§

fn array_compatible(ty: &PgTypeInfo) -> bool

","PgHasArrayType","index::BytesRef"],["
Source§

impl<'a> PhfBorrow<[u8]> for &'a [u8]

Source§

fn borrow(&self) -> &[u8]

Convert a reference to self to a reference to the borrowed type.
","PhfBorrow<[u8]>","index::BytesRef"],["
Source§

impl<'a> PhfBorrow<[u8]> for &'a [u8]

Source§

fn borrow(&self) -> &[u8]

Convert a reference to self to a reference to the borrowed type.
","PhfBorrow<[u8]>","index::BytesRef"],["
§

impl PrimitiveContent for &[u8]

§

const TAG: Tag = Tag::OCTET_STRING

The natural tag of an encoded value of this type.
§

fn encoded_len(&self, _: Mode) -> usize

Returns the length of the encoded content of this type.
§

fn write_encoded<W>(&self, _: Mode, target: &mut W) -> Result<(), Error>
where\n W: Write,

Writes the encoded content to a writer.
§

fn to_encoded_bytes(&self, mode: Mode) -> Bytes

Encodes the value to bytes (useful when you need to sign a structure)
§

fn encode(self) -> Primitive<Self>

Returns a value encoder for this content using the natural tag. Read more
§

fn encode_as(self, tag: Tag) -> Primitive<Self>

Returns a value encoder for this content using the given tag. Read more
§

fn encode_ref(&self) -> Primitive<&Self>

Returns a value encoder for a reference using the natural tag.
§

fn encode_ref_as(&self, tag: Tag) -> Primitive<&Self>

Returns a value encoder for a reference using the given tag.
","PrimitiveContent","index::BytesRef"],["
§

impl<'en, C> ProtocolEncode<'en, C> for &[u8]

§

fn encode_with(&self, buf: &mut Vec<u8>, _context: C) -> Result<(), Error>

§

fn encode(&self, buf: &mut Vec<u8>) -> Result<(), Error>
where\n Self: ProtocolEncode<'en>,

","ProtocolEncode<'en, C>","index::BytesRef"],["
§

impl Pushable for &[u8]

§

fn push_to_builder(self, builder: &mut Builder)

","Pushable","index::BytesRef"],["
1.0.0 · Source§

impl Read for &[u8]

Read is implemented for &[u8] by copying from the slice.

\n

Note that reading updates the slice to point to the yet unread part.\nThe slice will be empty when EOF is reached.

\n
Source§

fn read(&mut self, buf: &mut [u8]) -> Result<usize, Error>

Pull some bytes from this source into the specified buffer, returning\nhow many bytes were read. Read more
Source§

fn read_buf(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>

🔬This is a nightly-only experimental API. (read_buf)
Pull some bytes from this source into the specified buffer. Read more
Source§

fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> Result<usize, Error>

Like read, except that it reads into a slice of buffers. Read more
Source§

fn is_read_vectored(&self) -> bool

🔬This is a nightly-only experimental API. (can_vector)
Determines if this Reader has an efficient read_vectored\nimplementation. Read more
Source§

fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Error>

Reads the exact number of bytes required to fill buf. Read more
Source§

fn read_buf_exact(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>

🔬This is a nightly-only experimental API. (read_buf)
Reads the exact number of bytes required to fill cursor. Read more
Source§

fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<usize, Error>

Reads all bytes until EOF in this source, placing them into buf. Read more
Source§

fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>

Reads all bytes until EOF in this source, appending them to buf. Read more
1.0.0 · Source§

fn by_ref(&mut self) -> &mut Self
where\n Self: Sized,

Creates a “by reference” adapter for this instance of Read. Read more
1.0.0 · Source§

fn bytes(self) -> Bytes<Self>
where\n Self: Sized,

Transforms this Read instance to an Iterator over its bytes. Read more
1.0.0 · Source§

fn chain<R>(self, next: R) -> Chain<Self, R>
where\n R: Read,\n Self: Sized,

Creates an adapter which will chain this stream with another. Read more
1.0.0 · Source§

fn take(self, limit: u64) -> Take<Self>
where\n Self: Sized,

Creates an adapter which will read at most limit bytes from it. Read more
","Read","index::BytesRef"],["
§

impl<'a> ReadRef<'a> for &'a [u8]

§

fn len(self) -> Result<u64, ()>

The total size of the block of data.
§

fn read_bytes_at(self, offset: u64, size: u64) -> Result<&'a [u8], ()>

Get a reference to a u8 slice at the given offset. Read more
§

fn read_bytes_at_until(\n self,\n range: Range<u64>,\n delimiter: u8,\n) -> Result<&'a [u8], ()>

Get a reference to a delimited u8 slice which starts at range.start. Read more
§

fn read_bytes(self, offset: &mut u64, size: u64) -> Result<&'a [u8], ()>

Get a reference to a u8 slice at the given offset, and update the offset. Read more
§

fn read<T>(self, offset: &mut u64) -> Result<&'a T, ()>
where\n T: Pod,

Get a reference to a Pod type at the given offset, and update the offset. Read more
§

fn read_at<T>(self, offset: u64) -> Result<&'a T, ()>
where\n T: Pod,

Get a reference to a Pod type at the given offset. Read more
§

fn read_slice<T>(self, offset: &mut u64, count: usize) -> Result<&'a [T], ()>
where\n T: Pod,

Get a reference to a slice of a Pod type at the given offset, and update the offset. Read more
§

fn read_slice_at<T>(self, offset: u64, count: usize) -> Result<&'a [T], ()>
where\n T: Pod,

Get a reference to a slice of a Pod type at the given offset. Read more
","ReadRef<'a>","index::BytesRef"],["
§

impl<'a> RefToOwned<'a> for &'a [u8]

§

type Owned = Box<[u8]>

The resulting type after obtaining ownership.
§

fn ref_to_owned(&self) -> <&'a [u8] as RefToOwned<'a>>::Owned

Creates a new object taking ownership of the data
","RefToOwned<'a>","index::BytesRef"],["
§

impl<'a> Replacer for &'a [u8]

§

fn replace_append(&mut self, caps: &Captures<'_>, dst: &mut Vec<u8>)

Appends possibly empty data to dst to replace the current match. Read more
§

fn no_expansion(&mut self) -> Option<Cow<'_, [u8]>>

Return a fixed unchanging replacement byte string. Read more
§

fn by_ref<'r>(&'r mut self) -> ReplacerRef<'r, Self>

Returns a type that implements Replacer, but that borrows and wraps\nthis Replacer. Read more
","Replacer","index::BytesRef"],["
§

impl<'a> ScalarRef<'a> for &'a [u8]

§

type ScalarType = Vec<u8>

The corresponding [Scalar] type.
§

fn to_owned_scalar(&self) -> Vec<u8>

Convert the reference into an owned value.
","ScalarRef<'a>","index::BytesRef"],["
§

impl<'a, T> Slice<Range<usize>> for &'a [T]

§

fn slice(&self, range: Range<usize>) -> &'a [T]

Slices self according to the range argument
","Slice>","index::BytesRef"],["
§

impl<'a, T> Slice<RangeFrom<usize>> for &'a [T]

§

fn slice(&self, range: RangeFrom<usize>) -> &'a [T]

Slices self according to the range argument
","Slice>","index::BytesRef"],["
§

impl<'a, T> Slice<RangeFull> for &'a [T]

§

fn slice(&self, range: RangeFull) -> &'a [T]

Slices self according to the range argument
","Slice","index::BytesRef"],["
§

impl<'a, T> Slice<RangeTo<usize>> for &'a [T]

§

fn slice(&self, range: RangeTo<usize>) -> &'a [T]

Slices self according to the range argument
","Slice>","index::BytesRef"],["
§

impl<T> SliceLen for &[T]

§

fn slice_len(&self) -> usize

Calculates the input length, as indicated by its name,\nand the name of the trait itself
","SliceLen","index::BytesRef"],["
§

impl SplitByteSlice for &[u8]

§

unsafe fn split_at_unchecked(self, mid: usize) -> (&[u8], &[u8])

Splits the slice at the midpoint, possibly omitting bounds checks. Read more
§

fn split_at(self, mid: usize) -> Result<(Self, Self), Self>

Attempts to split self at the midpoint. Read more
","SplitByteSlice","index::BytesRef"],["
§

impl<'i, T> Stream for &'i [T]
where\n T: Clone + Debug,

§

type Token = T

The smallest unit being parsed Read more
§

type Slice = &'i [T]

Sequence of Tokens Read more
§

type IterOffsets = Enumerate<Cloned<Iter<'i, T>>>

Iterate with the offset from the current location
§

type Checkpoint = Checkpoint<&'i [T], &'i [T]>

A parse location within the stream
§

fn iter_offsets(&self) -> <&'i [T] as Stream>::IterOffsets

Iterate with the offset from the current location
§

fn eof_offset(&self) -> usize

Returns the offset to the end of the input
§

fn next_token(&mut self) -> Option<<&'i [T] as Stream>::Token>

Split off the next token from the input
§

fn peek_token(&self) -> Option<<&'i [T] as Stream>::Token>

Split off the next token from the input
§

fn offset_for<P>(&self, predicate: P) -> Option<usize>
where\n P: Fn(<&'i [T] as Stream>::Token) -> bool,

Finds the offset of the next matching token
§

fn offset_at(&self, tokens: usize) -> Result<usize, Needed>

Get the offset for the number of tokens into the stream Read more
§

fn next_slice(&mut self, offset: usize) -> <&'i [T] as Stream>::Slice

Split off a slice of tokens from the input Read more
§

unsafe fn next_slice_unchecked(\n &mut self,\n offset: usize,\n) -> <&'i [T] as Stream>::Slice

Split off a slice of tokens from the input Read more
§

fn peek_slice(&self, offset: usize) -> <&'i [T] as Stream>::Slice

Split off a slice of tokens from the input
§

unsafe fn peek_slice_unchecked(\n &self,\n offset: usize,\n) -> <&'i [T] as Stream>::Slice

Split off a slice of tokens from the input Read more
§

fn checkpoint(&self) -> <&'i [T] as Stream>::Checkpoint

Save the current parse location within the stream
§

fn reset(&mut self, checkpoint: &<&'i [T] as Stream>::Checkpoint)

Revert the stream to a prior [Self::Checkpoint] Read more
§

fn raw(&self) -> &dyn Debug

👎Deprecated since 0.7.10: Replaced with Stream::trace
Deprecated for callers as of 0.7.10, instead call [Stream::trace]
§

fn trace(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Write out a single-line summary of the current parse location
§

fn finish(&mut self) -> Self::Slice

Advance to the end of the stream
§

fn peek_finish(&self) -> Self::Slice
where\n Self: Clone,

Advance to the end of the stream
","Stream","index::BytesRef"],["
§

impl<T> StreamIsPartial for &[T]

§

type PartialState = ()

Whether the stream is currently partial or complete
§

fn complete(&mut self) -> <&[T] as StreamIsPartial>::PartialState

Mark the stream is complete
§

fn restore_partial(&mut self, _state: <&[T] as StreamIsPartial>::PartialState)

Restore the stream back to its previous state
§

fn is_partial_supported() -> bool

Report whether the [Stream] is can ever be incomplete
§

fn is_partial(&self) -> bool

Report whether the [Stream] is currently incomplete
","StreamIsPartial","index::BytesRef"],["
§

impl<T> ToSql for &[T]
where\n T: ToSql,

§

fn to_sql(\n &self,\n ty: &Type,\n w: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Converts the value of self into the binary format of the specified\nPostgres Type, appending it to out. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified\nPostgres Type.
§

fn to_sql_checked(\n &self,\n ty: &Type,\n out: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
","ToSql","index::BytesRef"],["
§

impl ToSql for &[u8]

§

fn to_sql(\n &self,\n _: &Type,\n w: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

Converts the value of self into the binary format of the specified\nPostgres Type, appending it to out. Read more
§

fn accepts(ty: &Type) -> bool

Determines if a value of this type can be converted to the specified\nPostgres Type.
§

fn to_sql_checked(\n &self,\n ty: &Type,\n out: &mut BytesMut,\n) -> Result<IsNull, Box<dyn Error + Sync + Send>>

An adaptor method used internally by Rust-Postgres. Read more
§

fn encode_format(&self, _ty: &Type) -> Format

Specify the encode format
","ToSql","index::BytesRef"],["
§

impl<'a> TryFrom<BitStringRef<'a>> for &'a [u8]

§

type Error = Error

The type returned in the event of a conversion error.
§

fn try_from(bit_string: BitStringRef<'a>) -> Result<&'a [u8], Error>

Performs the conversion.
","TryFrom>","index::BytesRef"],["
§

impl<T> UpdateSlice for &[T]
where\n T: Clone + Debug,

§

fn update_slice(self, inner: <&[T] as Stream>::Slice) -> &[T]

Convert an Output type to be used as Stream
","UpdateSlice","index::BytesRef"],["
§

impl<'a> Value<'a> for &'a [u8]

§

type ArrayIter = Empty<&'a [u8]>

The child value type returned by this doc value.\nThe iterator for walking through the elements within the array.
§

type ObjectIter = Empty<(&'a str, &'a [u8])>

The visitor walking through the key-value pairs within\nthe object.
§

fn as_value(&self) -> ReferenceValue<'a, &'a [u8]>

Returns the field value represented by an enum which borrows it’s data.
§

fn as_leaf(&self) -> Option<ReferenceValueLeaf<'a>>

If the Value is a leaf, returns the associated leaf. Returns None otherwise.
§

fn as_str(&self) -> Option<&'a str>

If the Value is a String, returns the associated str. Returns None otherwise.
§

fn as_u64(&self) -> Option<u64>

If the Value is a u64, returns the associated u64. Returns None otherwise.
§

fn as_i64(&self) -> Option<i64>

If the Value is a i64, returns the associated i64. Returns None otherwise.
§

fn as_f64(&self) -> Option<f64>

If the Value is a f64, returns the associated f64. Returns None otherwise.
§

fn as_datetime(&self) -> Option<DateTime>

If the Value is a datetime, returns the associated datetime. Returns None otherwise.
§

fn as_ip_addr(&self) -> Option<Ipv6Addr>

If the Value is a IP address, returns the associated IP. Returns None otherwise.
§

fn as_bool(&self) -> Option<bool>

If the Value is a bool, returns the associated bool. Returns None otherwise.
§

fn as_pre_tokenized_text(&self) -> Option<Box<PreTokenizedString>>

If the Value is a pre-tokenized string, returns the associated string. Returns None\notherwise.
§

fn as_bytes(&self) -> Option<&'a [u8]>

If the Value is a bytes value, returns the associated set of bytes. Returns None otherwise.
§

fn as_facet(&self) -> Option<&'a str>

If the Value is a facet, returns the associated facet. Returns None otherwise.
§

fn as_array(&self) -> Option<Self::ArrayIter>

Returns the iterator over the array if the Value is an array.
§

fn as_object(&self) -> Option<Self::ObjectIter>

Returns the iterator over the object if the Value is an object.
","Value<'a>","index::BytesRef"],["
§

impl<'zf, T> ZeroFrom<'zf, [T]> for &'zf [T]

§

fn zero_from(other: &'zf [T]) -> &'zf [T]

Clone the other C into a struct that may retain references into C.
","ZeroFrom<'zf, [T]>","index::BytesRef"],["
§

impl ByteSlice for &[u8]

","ByteSlice","index::BytesRef"],["
§

impl CloneableByteSlice for &[u8]

","CloneableByteSlice","index::BytesRef"],["
§

impl CopyableByteSlice for &[u8]

","CopyableByteSlice","index::BytesRef"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { window.pending_type_impls = type_impls; } })() //{"start":55,"fragment_lengths":[503402,559106]}