pub struct SubscribeModEventsStream;Expand description
Stream response type for chat.bsky.moderation.subscribeModEvents
Trait Implementations§
Source§impl SubscriptionResp for SubscribeModEventsStream
impl SubscriptionResp for SubscribeModEventsStream
Source§const NSID: &'static str = "chat.bsky.moderation.subscribeModEvents"
const NSID: &'static str = "chat.bsky.moderation.subscribeModEvents"
The NSID for this subscription
Source§const ENCODING: MessageEncoding = jacquard_common::xrpc::MessageEncoding::Json
const ENCODING: MessageEncoding = jacquard_common::xrpc::MessageEncoding::Json
Message encoding (JSON or DAG-CBOR)
Source§type Message<S: BosStr> = SubscribeModEventsMessage<S>
type Message<S: BosStr> = SubscribeModEventsMessage<S>
Message union type, parameterised on backing string type.
Source§type Error = SubscribeModEventsError
type Error = SubscribeModEventsError
Error union type. Always owned (
DeserializeOwned).Source§fn decode_message<'de, S>(
bytes: &'de [u8],
) -> Result<Self::Message<S>, DecodeError>
fn decode_message<'de, S>( bytes: &'de [u8], ) -> Result<Self::Message<S>, DecodeError>
Decode a message from bytes. Read more
Auto Trait Implementations§
impl Freeze for SubscribeModEventsStream
impl RefUnwindSafe for SubscribeModEventsStream
impl Send for SubscribeModEventsStream
impl Sync for SubscribeModEventsStream
impl Unpin for SubscribeModEventsStream
impl UnsafeUnpin for SubscribeModEventsStream
impl UnwindSafe for SubscribeModEventsStream
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