pub struct Stfu {
pub channel_id: ChannelId,
pub initiator: bool,
}Expand description
An stfu (quiescence) message to be sent by or received from the stfu initiator.
Fields§
§channel_id: ChannelIdThe channel ID where quiescence is intended
initiator: boolInitiator flag, true if initiating, false if replying to an stfu.
Trait Implementations§
Source§impl LengthReadable for Stfu
impl LengthReadable for Stfu
Source§fn read_from_fixed_length_buffer<R: LengthLimitedRead>(
r: &mut R,
) -> Result<Self, DecodeError>
fn read_from_fixed_length_buffer<R: LengthLimitedRead>( r: &mut R, ) -> Result<Self, DecodeError>
Reads a
Self in from the given LengthLimitedRead.Source§impl Writeable for Stfu
impl Writeable for Stfu
impl Eq for Stfu
impl StructuralPartialEq for Stfu
Auto Trait Implementations§
impl Freeze for Stfu
impl RefUnwindSafe for Stfu
impl Send for Stfu
impl Sync for Stfu
impl Unpin for Stfu
impl UnwindSafe for Stfu
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