pub struct SessionLine { /* private fields */ }
Expand description
values from the User: entry line ex. # User@Host: msandbox[msandbox] @ localhost [] Id: 3
Implementations§
Source§impl SessionLine
impl SessionLine
Sourcepub fn ip_address(&self) -> Option<Bytes>
pub fn ip_address(&self) -> Option<Bytes>
returns possible ip_address as Option<Bytes>
Trait Implementations§
Source§impl Clone for SessionLine
impl Clone for SessionLine
Source§fn clone(&self) -> SessionLine
fn clone(&self) -> SessionLine
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SessionLine
impl Debug for SessionLine
Source§impl From<SessionLine> for EntrySession
impl From<SessionLine> for EntrySession
Source§fn from(line: SessionLine) -> Self
fn from(line: SessionLine) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SessionLine
impl PartialEq for SessionLine
impl Eq for SessionLine
impl StructuralPartialEq for SessionLine
Auto Trait Implementations§
impl !Freeze for SessionLine
impl RefUnwindSafe for SessionLine
impl Send for SessionLine
impl Sync for SessionLine
impl Unpin for SessionLine
impl UnwindSafe for SessionLine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more