Enum sctp_proto::Side
source · pub enum Side {
Client = 0,
Server = 1,
}
Expand description
Whether an endpoint was the initiator of an association
Variants§
Implementations§
Trait Implementations§
source§impl Ord for Side
impl Ord for Side
source§impl PartialEq for Side
impl PartialEq for Side
source§impl PartialOrd for Side
impl PartialOrd for Side
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Side
impl Eq for Side
impl StructuralPartialEq for Side
Auto Trait Implementations§
impl Freeze for Side
impl RefUnwindSafe for Side
impl Send for Side
impl Sync for Side
impl Unpin for Side
impl UnwindSafe for Side
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