pub struct Connect {
pub family: Family,
pub port: Option<u16>,
/* private fields */
}
Expand description
Connect information about the smtp client
Fields§
§family: Family
The connection type connected to the milter client
port: Option<u16>
On an IP connection, the port of the connection
Implementations§
Trait Implementations§
Source§impl From<Connect> for ClientCommand
impl From<Connect> for ClientCommand
Source§impl Writable for Connect
impl Writable for Connect
Source§fn len(&self) -> usize
fn len(&self) -> usize
Byte-length that would be written if
Self::write
is calledSource§fn is_empty(&self) -> bool
fn is_empty(&self) -> bool
Whether a call to
Self::write
would write somethingimpl StructuralPartialEq for Connect
Auto Trait Implementations§
impl Freeze for Connect
impl RefUnwindSafe for Connect
impl Send for Connect
impl Sync for Connect
impl Unpin for Connect
impl UnwindSafe for Connect
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