Struct bird_protocol::types::ReadProtocolJson
source · [−]pub struct ReadProtocolJson<T> {
pub value: T,
}Fields
value: TImplementations
sourceimpl<T> ReadProtocolJson<T>
impl<T> ReadProtocolJson<T>
Trait Implementations
sourceimpl<T: DeserializeOwned> PacketReadable for ReadProtocolJson<T>
impl<T: DeserializeOwned> PacketReadable for ReadProtocolJson<T>
fn read<'life0, 'async_trait>(
input: &'life0 mut impl 'async_trait + InputPacketBytes
) -> Pin<Box<dyn Future<Output = PacketReadableResult<Self>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl<T> RefUnwindSafe for ReadProtocolJson<T> where
T: RefUnwindSafe,
impl<T> Send for ReadProtocolJson<T> where
T: Send,
impl<T> Sync for ReadProtocolJson<T> where
T: Sync,
impl<T> Unpin for ReadProtocolJson<T> where
T: Unpin,
impl<T> UnwindSafe for ReadProtocolJson<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more