Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

crates/cre8-app-network-model/src/peer_service.rs

cre8-app-network-model · module peer_service · src · 386 lines (347 code, 9 comment) · sha 2c1c96ea35ee1a4b

Items

const PEER_SERVICE_OFFER_SCHEMA_V1 const PEER_SERVICE_OFFER_PROFILE_FIELD const PEER_SERVICE_OFFERS_PROFILE_FIELD const NETWORK_FIXTURE_ECHO_SERVICE_V1 const MAX_PEER_SERVICE_METHODS const MAX_PEER_SERVICE_ACTIVE_SESSIONS const MAX_PEER_SERVICE_SESSION_PLAINTEXT_BYTES const MAX_PEER_SERVICE_MESSAGES_PER_DIRECTION const MAX_PEER_SERVICE_SESSION_DURATION_MS const SIGNING_DOMAIN_V1 struct PeerServiceCapabilitiesV1 struct PeerServiceCapacityV1 struct PeerServiceOfferPayloadV1 impl PeerServiceOfferPayloadV1 struct PeerServiceOfferV1 impl CanonicalBytes for PeerServiceOfferPayloadV1 enum VerifyPeerServiceOfferError impl Display for VerifyPeerServiceOfferError impl Error for VerifyPeerServiceOfferError

Functions

By call-graph weight (PageRank; 1.0 is the average function). 17 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
offer_id_for_payloadsrc/peer_service.rs:113fn31422.1
PeerServiceOfferPayloadV1::newsrc/peer_service.rs:65method301301.6
canonical_preimagesrc/peer_service.rs:104fn81101.4
sign_peer_service_offersrc/peer_service.rs:127fn81721.3
verify_peer_service_offersrc/peer_service.rs:219fn5512651.1
canonical_bytes_for_signingsrc/peer_service.rs:117fn31110.9
payloadsrc/peer_service.rs:280fn251410.8
verifysrc/peer_service.rs:306fn121430.8
require_nonemptysrc/peer_service.rs:181fn32100.7
verify_capabilitiessrc/peer_service.rs:185fn179100.7
verify_capacitysrc/peer_service.rs:203fn149100.7
PeerServiceOfferPayloadV1::canonical_bytes_for_signingsrc/peer_service.rs:122trait impl31010.5
VerifyPeerServiceOfferError::fmtsrc/peer_service.rs:154trait impl2313000.5
signed_offer_roundtrips_and_verifiessrc/peer_service.rs:320fn71050.5
mutation_and_scope_mismatch_fail_closedsrc/peer_service.rs:329fn201060.5
expired_offer_and_binding_mismatch_fail_closedsrc/peer_service.rs:351fn171060.5
duplicate_methods_and_unbounded_capacity_are_rejected_even_when_signedsrc/peer_service.rs:370fn161040.5

Source not readable from this process.