Struct libp2p_blake_streams::StreamSyncConfig [−][src]
pub struct StreamSyncConfig { pub path: PathBuf, pub key: Keypair, pub slice_len: usize, pub request_timeout: Duration, pub connection_keep_alive: Duration, }
Fields
path: PathBuf
key: Keypair
slice_len: usize
request_timeout: Duration
connection_keep_alive: Duration
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StreamSyncConfig
impl Send for StreamSyncConfig
impl Sync for StreamSyncConfig
impl Unpin for StreamSyncConfig
impl UnwindSafe for StreamSyncConfig
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V