Struct endpoint_sec::EventOpensshLogin
source · pub struct EventOpensshLogin<'a> { /* private fields */ }Available on crate feature
macos_13_0_0 and macOS only.Expand description
OpenSSH login event.
Implementations§
source§impl<'a> EventOpensshLogin<'a>
impl<'a> EventOpensshLogin<'a>
sourcepub fn result_type(&self) -> es_openssh_login_result_type_t
pub fn result_type(&self) -> es_openssh_login_result_type_t
Result type for the login attempt.
sourcepub fn source_address_type(&self) -> es_address_type_t
pub fn source_address_type(&self) -> es_address_type_t
Type of source address.
sourcepub fn source_address(&self) -> &'a OsStr
pub fn source_address(&self) -> &'a OsStr
Source address of connection.
sourcepub fn has_uid(&self) -> bool
pub fn has_uid(&self) -> bool
Describes whether or not the UID of the user logged in is available.
sourcepub fn source_address_std(&self) -> Option<IpAddr>
pub fn source_address_std(&self) -> Option<IpAddr>
Source address as an IpAddr from the standard library, if possible.
Trait Implementations§
source§impl<'a> Debug for EventOpensshLogin<'a>
impl<'a> Debug for EventOpensshLogin<'a>
source§impl<'a> Hash for EventOpensshLogin<'a>
impl<'a> Hash for EventOpensshLogin<'a>
source§impl<'a> PartialEq for EventOpensshLogin<'a>
impl<'a> PartialEq for EventOpensshLogin<'a>
impl<'a> Eq for EventOpensshLogin<'a>
impl Send for EventOpensshLogin<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for EventOpensshLogin<'a>
impl<'a> !Sync for EventOpensshLogin<'a>
impl<'a> Unpin for EventOpensshLogin<'a>
impl<'a> UnwindSafe for EventOpensshLogin<'a>
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