pub struct Layers {Show 17 fields
pub phy: LayerLogLevel,
pub mac: LayerLogLevel,
pub rlc: LayerLogLevel,
pub pdcp: LayerLogLevel,
pub rrc: LayerLogLevel,
pub nas: LayerLogLevel,
pub s72: LayerLogLevel,
pub s1ap: LayerLogLevel,
pub ngap: LayerLogLevel,
pub gtpu: LayerLogLevel,
pub x2ap: LayerLogLevel,
pub xnap: LayerLogLevel,
pub m2ap: LayerLogLevel,
pub lppa: LayerLogLevel,
pub nrppa: LayerLogLevel,
pub trx: LayerLogLevel,
pub sdap: LayerLogLevel,
}Expand description
Layers struct
Fields§
§phy: LayerLogLevelPhysical layer
mac: LayerLogLevelMedium Access Control layer
rlc: LayerLogLevelRadio Link Control layer
pdcp: LayerLogLevelPacket Data Convergence Protocol layer
rrc: LayerLogLevelRadio Resource Control layer
nas: LayerLogLevelNon Access Stratum layer
s72: LayerLogLevelS1 Application Protocol layer
s1ap: LayerLogLevelS1 Application Protocol layer
ngap: LayerLogLevelNext Generation Application Protocol layer
gtpu: LayerLogLevelGTPU layer
x2ap: LayerLogLevelX2 Application Protocol layer
xnap: LayerLogLevelXn Application Protocol layer
m2ap: LayerLogLevelM2 Application Protocol layer
lppa: LayerLogLevelLTE Positioning Protocol A layer
nrppa: LayerLogLevelNR Positioning Protocol A layer
trx: LayerLogLevelTRX layer
sdap: LayerLogLevelSDAP layer (not supported by all servers, skipped if warn)
Implementations§
Source§impl Layers
impl Layers
Sourcepub fn new_optiniated() -> Self
pub fn new_optiniated() -> Self
Create new Layers but in an optiniated way
Sourcepub fn is_layer_enabled(&self, layer: &Layer) -> bool
pub fn is_layer_enabled(&self, layer: &Layer) -> bool
Check if a specific layer is enabled (Debug level)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Layers
impl<'de> Deserialize<'de> for Layers
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Layers
impl RefUnwindSafe for Layers
impl Send for Layers
impl Sync for Layers
impl Unpin for Layers
impl UnwindSafe for Layers
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more