pub enum Header<'a> {
Show 20 variants
Ack(AckValue<'a>),
AcceptVersion(AcceptVersionValue<'a>),
ContentLength(ContentLengthValue<'a>),
ContentType(ContentTypeValue<'a>),
Destination(DestinationValue<'a>),
HeartBeat(HeartBeatValue<'a>),
Host(HostValue<'a>),
Id(IdValue<'a>),
Login(LoginValue<'a>),
Message(MessageValue<'a>),
MessageId(MessageIdValue<'a>),
Passcode(PasscodeValue<'a>),
Receipt(ReceiptValue<'a>),
ReceiptId(ReceiptIdValue<'a>),
Server(ServerValue<'a>),
Session(SessionValue<'a>),
Subscription(SubscriptionValue<'a>),
Transaction(TransactionValue<'a>),
Version(VersionValue<'a>),
Custom(CustomValue),
}
Variants§
Ack(AckValue<'a>)
AcceptVersion(AcceptVersionValue<'a>)
ContentLength(ContentLengthValue<'a>)
ContentType(ContentTypeValue<'a>)
Destination(DestinationValue<'a>)
HeartBeat(HeartBeatValue<'a>)
Host(HostValue<'a>)
Id(IdValue<'a>)
Login(LoginValue<'a>)
Message(MessageValue<'a>)
MessageId(MessageIdValue<'a>)
Passcode(PasscodeValue<'a>)
Receipt(ReceiptValue<'a>)
ReceiptId(ReceiptIdValue<'a>)
Server(ServerValue<'a>)
Session(SessionValue<'a>)
Subscription(SubscriptionValue<'a>)
Transaction(TransactionValue<'a>)
Version(VersionValue<'a>)
Custom(CustomValue)
Trait Implementations§
impl<'a> Eq for Header<'a>
impl<'a> StructuralPartialEq for Header<'a>
Auto Trait Implementations§
impl<'a> Freeze for Header<'a>
impl<'a> RefUnwindSafe for Header<'a>
impl<'a> Send for Header<'a>
impl<'a> Sync for Header<'a>
impl<'a> Unpin for Header<'a>
impl<'a> UnwindSafe for Header<'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
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