#[repr(C)]pub struct ChannelEndpointChanged {
pub channel_id: u32,
}
Expand description
§ChannelEndpointChanged (Server -> Client)
When a channel’s upstream or downstream endpoint changes and that channel had previously
sent messages with [channel_msg] bitset of unknown extension_type, the intermediate proxy
MUST send a ChannelEndpointChanged
message. Upon receipt thereof, any extension state
(including version negotiation and the presence of support for a given extension) MUST be
reset and version/presence negotiation must begin again.
Fields§
§channel_id: u32
The channel which has changed endpoint.
Implementations§
source§impl<'decoder> ChannelEndpointChanged
impl<'decoder> ChannelEndpointChanged
pub fn into_static(self) -> ChannelEndpointChanged
source§impl<'decoder> ChannelEndpointChanged
impl<'decoder> ChannelEndpointChanged
pub fn as_static(&self) -> ChannelEndpointChanged
Trait Implementations§
source§impl Clone for ChannelEndpointChanged
impl Clone for ChannelEndpointChanged
source§fn clone(&self) -> ChannelEndpointChanged
fn clone(&self) -> ChannelEndpointChanged
Returns a copy 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 ChannelEndpointChanged
impl Debug for ChannelEndpointChanged
source§impl<'decoder> Decodable<'decoder> for ChannelEndpointChanged
impl<'decoder> Decodable<'decoder> for ChannelEndpointChanged
fn get_structure(data: &[u8]) -> Result<Vec<FieldMarker>, Error>
fn from_decoded_fields( data: Vec<DecodableField<'decoder>> ) -> Result<Self, Error>
fn from_bytes(data: &'a mut [u8]) -> Result<Self, Error>
source§impl<'decoder> From<ChannelEndpointChanged> for EncodableField<'decoder>
impl<'decoder> From<ChannelEndpointChanged> for EncodableField<'decoder>
source§fn from(v: ChannelEndpointChanged) -> Self
fn from(v: ChannelEndpointChanged) -> Self
Converts to this type from the input type.
source§impl PartialEq for ChannelEndpointChanged
impl PartialEq for ChannelEndpointChanged
source§fn eq(&self, other: &ChannelEndpointChanged) -> bool
fn eq(&self, other: &ChannelEndpointChanged) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ChannelEndpointChanged
impl Eq for ChannelEndpointChanged
impl StructuralPartialEq for ChannelEndpointChanged
Auto Trait Implementations§
impl Freeze for ChannelEndpointChanged
impl RefUnwindSafe for ChannelEndpointChanged
impl Send for ChannelEndpointChanged
impl Sync for ChannelEndpointChanged
impl Unpin for ChannelEndpointChanged
impl UnwindSafe for ChannelEndpointChanged
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