pub enum HeaderType {
Show 19 variants
Ack,
AcceptVersion,
ContentLength,
ContentType,
Destination,
HeartBeat,
Host,
Id,
Login,
Message,
MessageId,
Passcode,
Receipt,
ReceiptId,
Server,
Session,
Subscription,
Transaction,
Version,
}
Variants§
Ack
AcceptVersion
ContentLength
ContentType
Destination
HeartBeat
Host
Id
Login
Message
MessageId
Passcode
Receipt
ReceiptId
Server
Session
Subscription
Transaction
Version
Implementations§
Trait Implementations§
Source§impl Clone for HeaderType
impl Clone for HeaderType
Source§fn clone(&self) -> HeaderType
fn clone(&self) -> HeaderType
Returns a duplicate 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 HeaderType
impl Debug for HeaderType
Source§impl Display for HeaderType
impl Display for HeaderType
Source§impl PartialEq for HeaderType
impl PartialEq for HeaderType
Source§impl TryFrom<&'static str> for HeaderType
impl TryFrom<&'static str> for HeaderType
Source§type Error = StompParseError
type Error = StompParseError
The type returned in the event of a conversion error.
Source§fn try_from(input: &'static str) -> Result<HeaderType, StompParseError>
fn try_from(input: &'static str) -> Result<HeaderType, StompParseError>
Performs the conversion.
impl Copy for HeaderType
impl Eq for HeaderType
impl StructuralPartialEq for HeaderType
Auto Trait Implementations§
impl Freeze for HeaderType
impl RefUnwindSafe for HeaderType
impl Send for HeaderType
impl Sync for HeaderType
impl Unpin for HeaderType
impl UnwindSafe for HeaderType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more