Struct jupiter_rs::request::Request
source · [−]pub struct Request { /* private fields */ }
Implementations
sourceimpl Request
impl Request
pub fn parse(data: &mut BytesMut) -> Result<Option<Request>>
pub fn command(&self) -> &str
pub fn parameter_count(&self) -> usize
pub fn parameter(&self, index: usize) -> Result<Bytes>
pub fn str_parameter(&self, index: usize) -> Result<&str>
pub fn int_parameter(&self, index: usize) -> Result<i32>
Auto Trait Implementations
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more