s2n-quic-core 0.81.0

Internal crate used by s2n-quic
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

pub mod storage;

pub use storage::Storage;

/// A buffer capable of being written into by a reader
pub trait Writer {
    fn read_from<R>(&mut self, reader: &mut R) -> Result<(), super::Error<R::Error>>
    where
        R: super::Reader + ?Sized;
}