some formatting and renaming
This commit is contained in:
parent
2a5795c892
commit
f3777ca0d2
@ -170,8 +170,8 @@ impl<PacketHandler: CcsdsPacketHandler<Error = E>, E: 'static> ReceivesTcCore
|
||||
}
|
||||
|
||||
impl<PacketHandler: CcsdsPacketHandler<Error = E>, E: 'static> CcsdsDistributor<PacketHandler, E> {
|
||||
pub fn new(apid_handler: PacketHandler) -> Self {
|
||||
CcsdsDistributor { packet_handler: apid_handler }
|
||||
pub fn new(packet_handler: PacketHandler) -> Self {
|
||||
CcsdsDistributor { packet_handler }
|
||||
}
|
||||
|
||||
pub fn packet_handler(&self) -> &PacketHandler {
|
||||
|
Loading…
Reference in New Issue
Block a user