Docs.rs
cyfs-base-0.6.12
cyfs-base 0.6.12
Docs.rs crate page
BSD-2-Clause
Links
crates.io
Source
Owners
BDTDevTeam
Dependencies
aes =0.7
normal
async-recursion ^1.0
normal
async-std ^1.11
normal
async-trait ^0.1.53
normal
base-x ^0.2.0
normal
base58 ^0.2.0
normal
block-modes =0.8
normal
chrono ^0.4
normal
cyfs-base-derive ^0.5
normal
cyfs-ecies ^0.1.4
normal
generic-array ^0.12
normal
hex ^0.4
normal
http-types ^2.12
normal
int-enum ^0.4
normal
intbits ^0.2
normal
itertools ^0.10
normal
lazy_static ^1.4
normal
libc ^0.2
normal
libsecp256k1 ^0.3.5
normal
log ^0.4
normal
lru_time_cache ^0.11
normal
once_cell ^1.12
normal
primitive-types ^0.9
normal
protobuf ^2
normal
rand ^0.7
normal
rsa ^0.3.0
normal
rsa-export ^0.1.1
normal
serde ^1.0
normal
serde_json ^1.0
normal
sha2 ^0.8
normal
simple_logger ^2.1
normal
sqlx ^0.5
normal
url ^2.2
normal
chrono ^0.4
build
protoc-bin-vendored ^3
build
protoc-rust ^2
build
rusqlite ^0.27.0
normal
zip ^0.6
normal
Versions
Platform
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Dir
Methods
check_and_fix_desc_limit
get_data_from_body
new
new_with_chunk_body
In cyfs_base
?
Type Definition
cyfs_base
::
Dir
source
·
[
−
]
pub type Dir =
NamedObjectBase
<
DirType
>;
Implementations
§
source
§
impl
Dir
source
pub fn
new
( dir_attributes:
Attributes
, obj_desc:
NDNObjectInfo
, obj_map:
HashMap
<
ObjectId
,
Vec
<
u8
>> ) ->
DirBuilder
source
pub fn
new_with_chunk_body
( dir_attributes:
Attributes
, obj_desc:
NDNObjectInfo
, chunk_body:
ChunkId
) ->
DirBuilder
source
pub fn
get_data_from_body
(&self, id: &
ObjectId
) ->
Option
<&
Vec
<
u8
>>
source
pub fn
check_and_fix_desc_limit
(&mut self) ->
BuckyResult
<
()
>